aboutsummaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-02-28 11:32:26 +0300
committerFrederick Muriuki Muriithi2024-02-28 11:32:26 +0300
commit77eeaec1ecdef5f110c69aa767969649e353b22b (patch)
tree295f88ab71f54489d905acbe95b06cce86edd7d9 /tests/conftest.py
parent9ab4316ee3c4d3068053c94334c64915514d8664 (diff)
downloadgn-uploader-77eeaec1ecdef5f110c69aa767969649e353b22b.tar.gz
tests: test with just the message - don't include markup
Markup can, and will change as improvements are made, but the error messages will not change that often, plus that is what we want to actually test for, not the markup.
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 013c30d..e4bebc6 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -46,7 +46,7 @@ def cleanup_redis(redisuri: str, prefix: str):
@pytest.fixture(scope="module")
def client():
"Fixture for test client"
- app = create_app(os.environ.get("QCAPP_INSTANCE_PATH"))
+ app = create_app()
test_prefix = sha256(f"test:{uuid.uuid4()}".encode("utf8")).hexdigest()
app.config.update({
"TESTING": True,