Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
raivisdejus committed Nov 24, 2024
1 parent 6740c5a commit b183faf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions buzz/widgets/main_window_toolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def __init__(self, shortcuts: Shortcuts, parent: Optional[QWidget]):
self.record_action = Action(Icon(RECORD_ICON_PATH, self), _("Record"), self)
self.record_action.triggered.connect(self.on_record_action_triggered)

# Note: Changes to "New File Transcription" need to be reflected
# also in tests/widgets/main_window_test.py
self.new_transcription_action = Action(
Icon(ADD_ICON_PATH, self), _("New File Transcription"), self
)
Expand Down
2 changes: 1 addition & 1 deletion tests/widgets/main_window_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def _import_file_and_start_transcription(
"",
)
new_transcription_action = TestMainWindow._get_toolbar_action(
window, _("New Transcription")
window, _("New File Transcription")
)
new_transcription_action.trigger()

Expand Down

0 comments on commit b183faf

Please sign in to comment.