diff --git a/python/nammu/test/test_nammu.py b/python/nammu/test/test_nammu.py index 3ada439e..5478b13f 100644 --- a/python/nammu/test/test_nammu.py +++ b/python/nammu/test/test_nammu.py @@ -119,11 +119,13 @@ def getName(self): class TestNammu(object): + @classmethod def setup_class(self): self.nammu = NammuController() + @classmethod def teardown_class(self): - del self.nammu + self.nammu.view.dispose() @pytest.mark.parametrize('text', [simpletext(), english(), arabic(), english_no_lem(), arabic_no_lem(),