mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-10 06:34:16 +00:00
fix select invalid test
This commit is contained in:
parent
7162649b03
commit
eef9adbfcb
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ def test_update_status_invalid(tmp_path, process, disable_extractors_dict):
|
||||||
|
|
||||||
conn = sqlite3.connect(str(tmp_path / "index.sqlite3"))
|
conn = sqlite3.connect(str(tmp_path / "index.sqlite3"))
|
||||||
c = conn.cursor()
|
c = conn.cursor()
|
||||||
url = c.execute("SELECT * FROM core_snapshot").fetchone()[1]
|
url = c.execute("SELECT url FROM core_snapshot").fetchone()[0]
|
||||||
conn.commit()
|
conn.commit()
|
||||||
conn.close()
|
conn.close()
|
||||||
|
|
||||||
assert url == 'http://127.0.0.1:8080/static/example.com.html'
|
assert url == 'http://127.0.0.1:8080/static/example.com.html'
|
||||||
|
|
Loading…
Reference in a new issue