Fix CLI, add bootstrapping, config handling
This commit is contained in:
+2
-2
@@ -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()
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.mark.xfail
|
||||
def test_tests_are_implemented():
|
||||
print("Yyou have not implemented any tests yet.")
|
||||
assert False
|
||||
Reference in New Issue
Block a user