aboutsummaryrefslogtreecommitdiffstats
path: root/resources/unittest_template.py
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-06-24 05:45:10 +0400
committerGravatar Hassan Abouelela <[email protected]>2022-06-24 06:00:28 +0400
commit0befbe9f083751e9c195faea1ef1062fbf6dc447 (patch)
treea4dd7185e44b96cd114a8f062c4c72c8d6b626c6 /resources/unittest_template.py
parentAllow Setup For Unittests (diff)
Make Unittests Async
The codejam test suite uses async functions, which would be annoying to deal with in our current template. Switching to async makes that available to those who want it, without affecting those who don't. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'resources/unittest_template.py')
-rw-r--r--resources/unittest_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/unittest_template.py b/resources/unittest_template.py
index 6f704f3..104b3b4 100644
--- a/resources/unittest_template.py
+++ b/resources/unittest_template.py
@@ -15,7 +15,7 @@ from unittest import mock
### USER CODE
-class RunnerTestCase(unittest.TestCase):
+class RunnerTestCase(unittest.IsolatedAsyncioTestCase):
### UNIT CODE