Quiiz system

This commit is contained in:
2026-07-26 16:46:41 +02:00
parent 7f17d69f5c
commit 4780016980
192 changed files with 15031 additions and 566 deletions
+4 -2
View File
@@ -148,7 +148,7 @@ def test_owner_sees_harvest_not_steal(alice):
assert page.locator("form[data-game-action='steal']").count() == 0
def test_victim_gets_anonymous_notification(bob):
def test_victim_notification_names_the_raider_and_the_amount(bob):
page, _ = bob
from devplacepy.database import get_table
@@ -172,4 +172,6 @@ def test_victim_gets_anonymous_notification(bob):
user_uid=alice["uid"], type="harvest_stolen"
)
assert note is not None
assert "bob_test" not in note["message"]
assert "bob_test" in note["message"]
assert "Python Script" in note["message"]
assert "harvest it" in note["message"]