Skip to content

Commit

Permalink
Update MockMainWindow for more general tests
Browse files Browse the repository at this point in the history
  • Loading branch information
teekuningas committed Mar 20, 2024
1 parent 9c0e4a9 commit c18b645
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meggie/utilities/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ def create_test_experiment(experiment_folder, experiment_name, n_subjects=2):
class MockMainWindow(QMainWindow):
def __init__(self, *args, **kwargs):
self.ui = None
self.prefs = PreferencesHandler()
QMainWindow.__init__(self)

def update_ui(self):
Expand Down

0 comments on commit c18b645

Please sign in to comment.