Skip to content
Snippets Groups Projects
Verified Commit 5721264d authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Update tests for chaning server default configuration

parent 68eab81e
Branches
Tags
No related merge requests found
Pipeline #15403 passed with warnings
......@@ -33,6 +33,7 @@ services:
environment:
DEBUG: 1
CAOSDB_CONFIG_AUTHTOKEN_CONFIG: "conf/core/authtoken.example.yaml"
CAOSDB_CONFIG_TRANSACTION_BENCHMARK_ENABLED: "TRUE"
volumes:
scripting:
extroot:
......
......@@ -26,7 +26,7 @@
"""
import caosdb as db
from caosdb import (Container, Info, Property, Record, RecordType,
execute_query)
execute_query, administration as admin)
from pytest import raises
from pytest import mark
......@@ -225,6 +225,7 @@ def test_annotation():
def test_info():
assert admin.get_server_property("TRANSACTION_BENCHMARK_ENABLED") == "TRUE", "Please activate the transaction benchmark with the server option TRANSACTION_BENCHMARK_ENABLED=TRUE (Restart of the server needed)"
i = Info()
assert (i.messages["Flags"]) is not None
assert (i.messages["Counts"]) is not None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment