We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea1b062 + 5ffc84b commit 921ab3fCopy full SHA for 921ab3f
backend/routes/forms/unittesting.py
@@ -43,6 +43,8 @@ def _make_unit_code(units: dict[str, str]) -> str:
43
# Function definition
44
if unit_name == "setUp":
45
result += "\ndef setUp(self):"
46
+ elif unit_name == "tearDown":
47
+ result += "\ndef tearDown(self):"
48
else:
49
name = f"test_{unit_name.removeprefix('#').removeprefix('test_')}"
50
result += f"\nasync def {name}(self):"
0 commit comments