From 0befbe9f083751e9c195faea1ef1062fbf6dc447 Mon Sep 17 00:00:00 2001 From: Hassan Abouelela Date: Fri, 24 Jun 2022 05:45:10 +0400 Subject: 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 --- resources/unittest_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/unittest_template.py') 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 -- cgit v1.2.3