From 1c2154513045715039d0bc9610ecffc7ac3854c8 Mon Sep 17 00:00:00 2001 From: Storsorken Date: Mon, 13 Mar 2023 20:50:01 +0100 Subject: [PATCH] bug: stop repeating script before test ends Test might otherwise causing unexpected side effects --- evennia/scripts/tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/evennia/scripts/tests.py b/evennia/scripts/tests.py index e9b40a9626..b54f465044 100644 --- a/evennia/scripts/tests.py +++ b/evennia/scripts/tests.py @@ -188,6 +188,7 @@ class TestExtendedLoopingCall(TestCase): loopcall.start(20, now=False, start_delay=5, count_start=0) loopcall.force_repeat() + loopcall.stop() callback.assert_called_once()