8000 Fix test autoreload_nested to be independent of other tests (#285) · ag-python-qt/CQ-editor-pyqt@8e1ea31 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8e1ea31

Browse files
authored
Fix test autoreload_nested to be independent of other tests (CadQuery#285)
1 parent 4cb8071 commit 8e1ea31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,7 @@ def test_autoreload_nested(editor):
659659

660660
TIMEOUT = 500
661661

662+
editor.autoreload(True)
662663
editor.preferences['Autoreload: watch imported modules'] = True
663664

664665
with open('test_nested_top.py','w') as f:
@@ -674,7 +675,7 @@ def test_autoreload_nested(editor):
674675

675676
# wait for reload.
676677
with qtbot.waitSignal(editor.triggerRerender, timeout=TIMEOUT):
677-
# modify file - NB: separate process is needed to avoid Widows quirks
678+
# modify file - NB: separate process is needed to avoid Windows quirks
678679
modify_file(code_nested_bottom, 'test_nested_bottom.py')
679680

680681
def test_console(main):

0 commit comments

Comments
 (0)
0