Compare commits

..

4 Commits

Author SHA1 Message Date
dgtlmoon
e489ac519c this didnt help 2024-06-04 13:21:50 +02:00
dgtlmoon
3b514d5a74 Document technical debt 2024-06-04 12:21:28 +02:00
dgtlmoon
e2a8a847bc Add delay 2024-06-04 12:09:04 +02:00
dgtlmoon
48c6cb1805 Adding small delay 2024-06-04 11:48:44 +02:00
2 changed files with 1 additions and 4 deletions

View File

@@ -178,7 +178,7 @@ class ChangeDetectionStore:
@property
def has_unviewed(self):
for uuid, watch in self.__data['watching'].items():
if watch.history_n >= 2 and watch.viewed == False:
if watch.viewed == False:
return True
return False

View File

@@ -135,9 +135,6 @@ def test_check_basic_change_detection_functionality(client, live_server):
# It should have picked up the <title>
assert b'head title' in res.data
# Be sure the last_viewed is going to be greater than the last snapshot
time.sleep(1)
# hit the mark all viewed link
res = client.get(url_for("mark_all_viewed"), follow_redirects=True)