Fix CLI, add bootstrapping, config handling

This commit is contained in:
evilchili
2025-09-25 22:31:37 -07:00
parent fc1f121853
commit 8ec9f41b6c
6 changed files with 122 additions and 35 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ from ttfrog import schema
@pytest.fixture
def app(monkeypatch):
monkeypatch.setenv("TTFROG_IN_MEMORY_DB", "1")
def app():
ttfrog.app.load_config(defaults=None, IN_MEMORY_DB=1)
ttfrog.app.initialize()
yield ttfrog.app
ttfrog.app.db.close()
-7
View File
@@ -1,7 +0,0 @@
import pytest
@pytest.mark.xfail
def test_tests_are_implemented():
print("Yyou have not implemented any tests yet.")
assert False