Skip to content

Commit

Permalink
One more fix to avoid tests from touching the filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
mdickinson committed Jun 27, 2024
1 parent 44568da commit e13935b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apptools/preferences/tests/test_preferences_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,9 @@ class AcmeUIPreferencesHelper(PreferencesHelper):
def test_scoped_preferences(self):
""" scoped preferences """

p = set_default_preferences(ScopedPreferences())
p = set_default_preferences(
ScopedPreferences(application_preferences_filename=self.tmpfile)
)

# Set a preference value in the default scope.
p.set("default/acme.ui.bgcolor", "blue")
Expand Down

0 comments on commit e13935b

Please sign in to comment.