mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-25 06:46:11 +00:00
Update test_backup.py
This commit is contained in:
@@ -46,6 +46,6 @@ def test_backup(client, live_server):
|
||||
uuid4hex = re.compile('^[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12}.*txt', re.I)
|
||||
newlist = list(filter(uuid4hex.match, l)) # Read Note below
|
||||
|
||||
# Should be two txt files in the archive (history and the snapshot)
|
||||
assert len(newlist) == 2
|
||||
# Should be three txt files in the archive (history and the snapshot)
|
||||
assert len(newlist) == 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user