Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tadeubas committed Aug 27, 2024
1 parent 45d4022 commit 474c63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_init(mocker, m5stickv):

def test_stored_i18n_settings(mocker, m5stickv):
# mock store singleton creation before import
stored_settings = """{"settings": {"i18n": {"locale": "pl-PL"}}}"""
stored_settings = """{"settings": {"i18n": {"locale": "pt-BR"}}}"""
mocker.patch("builtins.open", mocker.mock_open(read_data=stored_settings))

# import will create store singleton with mocked values
Expand Down

0 comments on commit 474c63d

Please sign in to comment.