Skip to content

Commit

Permalink
Adjusts mock presenter in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DrPaulSharp committed Oct 3, 2024
1 parent 94391d5 commit ae75bec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rascal2/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def delete_local_settings(path: str | PathLike) -> None:
Parameters
----------
path: str or PathLike
The path to the folder where settings will be saved.
The path to the folder where the settings are saved.
"""
file = Path(path, "settings.json")
file.unlink(missing_ok=True)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from rascal2.widgets.inputs import ValidatedInputWidget


class MockPresenter(QtWidgets.QMainWindow):
class MockPresenter:
def __init__(self):
super().__init__()
self.model = MagicMock()
Expand Down

0 comments on commit ae75bec

Please sign in to comment.