Skip to content

Commit

Permalink
minor change for command line tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilipp committed May 14, 2018
1 parent 2e42c00 commit 835ddf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/widgets/test_command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ def setUp(self):

def test_open_image(self, *args, **kwargs):
fname = self.get_fig_path('basic_diagram.png')
self.window = start_app(fname, exec_=False, **kwargs)
self.window = start_app(fname, exec_=False, new_instance=True,
**kwargs)
self.assertIsNotNone(self.window)
self.straditizer_widgets = get_straditizer_widgets(self.window)
self.assertIsNotNone(self.straditizer)
Expand Down

0 comments on commit 835ddf3

Please sign in to comment.