Skip to content
Snippets Groups Projects
Commit 551118fd authored by payno's avatar payno Committed by payno
Browse files

update test on AdvancementOW. close #773

parent 2edb44e0
No related branches found
No related tags found
No related merge requests found
# coding: utf-8 # coding: utf-8
from __future__ import annotations
import gc
from silx.gui import qt
from silx.gui.utils.testutils import TestCaseQt
from tomwer.tests.conftest import qtapp # noqa F401
from orangecontrib.tomwer.widgets.control.AdvancementOW import AdvancementOW from orangecontrib.tomwer.widgets.control.AdvancementOW import AdvancementOW
class TestAdvancementOw(TestCaseQt): def test_totsaso(qtapp): # noqa F401
def setUp(self): AdvancementOW()
super().setUp()
self.widget = AdvancementOW()
def tearDown(self):
self.widget.setAttribute(qt.Qt.WA_DeleteOnClose)
self.widget.close()
self.widget = None
gc.collect()
def test(self):
self.widget.show()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment