mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-12 22:25:44 -04:00
fix tests
This commit is contained in:
parent
0090d36d23
commit
354b4627ed
2 changed files with 4 additions and 4 deletions
|
@ -104,8 +104,8 @@ def test_remove_before(tmp_path, process, disable_extractors_dict):
|
|||
conn.commit()
|
||||
conn.close()
|
||||
|
||||
lowerts = lowerts[0].split(".")[0]
|
||||
higherts = higherts[0].split(".")[0]
|
||||
lowerts = lowerts[0]
|
||||
higherts = higherts[0]
|
||||
|
||||
# before is less than, so only the lower snapshot gets deleted
|
||||
subprocess.run(['archivebox', 'remove', '--filter-type=regex', '.*', '--yes', '--delete', '--before', higherts], capture_output=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue