✅ test(region): run timezone tests when invoked directly
- ✅ the new class sat below `unittest.main()`, so running the file directly exited before defining it; suite discovery still found it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SdXqTwm63rRMwotZ1xqLC8
This commit is contained in:
1 parent
d2e37df6a4
commit
e3de148897
1 file changed
+4
-3
@@ -251,9 +251,6 @@ done
|
||||
self.assertFalse((self.root / "release").exists())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
|
||||
class ConfiguratorRegionTimezoneTest(unittest.TestCase):
|
||||
"""The configurator hands the ISO's regional timezone to the setup form."""
|
||||
@@ -284,3 +281,7 @@ class ConfiguratorRegionTimezoneTest(unittest.TestCase):
|
||||
|
||||
def test_user_form_passes_it_to_the_timezone_prompt(self):
|
||||
self.assertIn('omarchy_prompt_timezone "$(region_timezone)"', self.configurator)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user