From e867e893033ecf8883cff9d3bf7644c6a6d3a82e Mon Sep 17 00:00:00 2001 From: Brandon Wees Date: Thu, 27 Oct 2022 08:45:44 -0400 Subject: [PATCH] Update test_backup.py --- changedetectionio/tests/test_backup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changedetectionio/tests/test_backup.py b/changedetectionio/tests/test_backup.py index 89fd66a5..072cfa60 100644 --- a/changedetectionio/tests/test_backup.py +++ b/changedetectionio/tests/test_backup.py @@ -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