Skip to content

Commit

Permalink
fix: black issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hodossy committed Jan 4, 2021
1 parent 5dc5934 commit 8e1c2b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ def test_deprecated_setting(self):

@override_settings(NLF_EMPTY_VALUE="django_nlf.utils.coerce_bool")
def test_import_string(self):
self.nlf_settings.IMPORT_STRINGS = ("EMPTY_VALUE")
self.nlf_settings.IMPORT_STRINGS = "EMPTY_VALUE"
self.assertTrue(callable(self.nlf_settings.EMPTY_VALUE))

@override_settings(NLF_EMPTY_VALUE=("django_nlf.utils.coerce_bool", ))
@override_settings(NLF_EMPTY_VALUE=("django_nlf.utils.coerce_bool",))
def test_import_list(self):
self.nlf_settings.IMPORT_STRINGS = ["EMPTY_VALUE"]
self.assertEqual(len(self.nlf_settings.EMPTY_VALUE), 1)
Expand Down

0 comments on commit 8e1c2b8

Please sign in to comment.