|
|
@ -163,6 +163,7 @@ def test_api_simple(client, live_server):
|
|
|
|
# Loading the most recent snapshot should force viewed to become true
|
|
|
|
# Loading the most recent snapshot should force viewed to become true
|
|
|
|
client.get(url_for("diff_history_page", uuid="first"), follow_redirects=True)
|
|
|
|
client.get(url_for("diff_history_page", uuid="first"), follow_redirects=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
time.sleep(3)
|
|
|
|
# Fetch the whole watch again, viewed should be true
|
|
|
|
# Fetch the whole watch again, viewed should be true
|
|
|
|
res = client.get(
|
|
|
|
res = client.get(
|
|
|
|
url_for("watch", uuid=watch_uuid),
|
|
|
|
url_for("watch", uuid=watch_uuid),
|
|
|
|