Squash Odysseus development history

This commit is contained in:
pewdiepie-archdaemon
2026-09-11 06:04:19 +00:00
parent e5c99a5eee
commit 6ee6502010
2050 changed files with 538359 additions and 57745 deletions
+8 -5
View File
@@ -32,10 +32,13 @@ class TestAppStructure:
src_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), "src")
assert os.path.exists(src_path), "src directory should exist"
def test_env_file_exists(self):
"""Test that .env file exists"""
env_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), ".env")
assert os.path.exists(env_path), ".env file should exist"
def test_env_file_is_optional_and_ignored(self):
"""A fresh checkout should not require a private .env file."""
root = os.path.dirname(os.path.dirname(__file__))
gitignore_path = os.path.join(root, ".gitignore")
with open(gitignore_path, encoding="utf-8") as fh:
ignored = {line.strip() for line in fh}
assert ".env" in ignored, ".env should stay local and ignored"
def test_env_example_exists(self):
"""Test that .env.example exists"""
@@ -92,4 +95,4 @@ class TestRouteFiles:
if __name__ == "__main__":
pytest.main([__file__, "-v"])
pytest.main([__file__, "-v"])