Skip to content

Commit

Permalink
PR: Fix "start from" elapsed time bug and refactoring of the CI-tests (
Browse files Browse the repository at this point in the history
…#70)

* Fix a startfrom bug when 'last' or 'other'

* Rename testfile and make test all independent

* Assert displayed value

* Move tests to mainwindow_startstopcancel

* Fix minwindow tests due the changes

* Make all test independent and clean the tests

* Delete folder recursively in test
  • Loading branch information
jnsebgosselin authored Aug 1, 2018
1 parent b693941 commit 9b60c4f
Show file tree
Hide file tree
Showing 4 changed files with 379 additions and 522 deletions.
5 changes: 4 additions & 1 deletion qwatson/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,10 @@ def __init__(self, config_dir=None, parent=None):
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(
myappid)

config_dir = config_dir or click.get_app_dir('QWatson')
config_dir = (config_dir or
os.environ.get('QWATSON_DIR') or
click.get_app_dir('QWatson'))

self.client = Watson(config_dir=config_dir)
self.model = WatsonTableModel(self.client)

Expand Down
Loading

0 comments on commit 9b60c4f

Please sign in to comment.