fix teardown

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2025-05-29 20:58:31 +02:00
parent 7e4c9bed3d
commit 0ca4775600

View File

@ -173,9 +173,10 @@ def generate(plan_name: str):
def setUp(self):
return super().setUp()
def tearDown(self):
self.conformance.exporthtml(self.plan_id, Path(__file__).parent / "exports")
return super().tearDown()
@classmethod
def tearDownClass(cls):
super().tearDown()
cls.conformance.exporthtml(cls.plan_id, Path(__file__).parent / "exports")
for test in test_plan["modules"]:
setattr(