mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-07 23:26:36 +02:00
fix select invalid test
This commit is contained in:
@@ -20,7 +20,7 @@ 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()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user