Skip to content

Commit

Permalink
test(app): refactor. order tests alphanumerical
Browse files Browse the repository at this point in the history
ref: #469 #470
  • Loading branch information
jon-nfc committed Jan 14, 2025
1 parent a5f870b commit ea02798
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions app/app/tests/unit/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ class SettingsDefault(TestCase):
""" Test Settings file default values """


def test_setting_default_debug_off(self):
""" Ensure that debug is off within settings by default
Debug is only required during development with this setting must always remain off within the committed code.
"""

assert not settings.DEBUG


def test_setting_default_login_required(self):
""" By default login should be required
"""
Expand All @@ -27,15 +36,6 @@ def test_setting_default_use_tz(self):
assert settings.USE_TZ


def test_setting_default_debug_off(self):
""" Ensure that debug is off within settings by default
Debug is only required during development with this setting must always remain off within the committed code.
"""

assert not settings.DEBUG



class SettingsValues(TestCase):
""" Test Each setting that offers different functionality """
Expand Down

0 comments on commit ea02798

Please sign in to comment.