Skip to content

Commit 83557de

Browse files
committed
Call App.initialize() in the setUp phase of GlobalConfiguration test
Otherwise it will crash that the cls._app is not created.
1 parent 033650e commit 83557de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/units/main/global_configuration_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828

2929
class GlobalConfiguration_TestCase(unittest.TestCase):
3030

31+
def setUp(self):
32+
App.initialize()
33+
3134
def tearDown(self):
3235
App.initialize()
3336

0 commit comments

Comments
 (0)