diff --git a/tests/test_misc.py b/tests/test_misc.py index 559bd9971f9976011db37587db501ee4db0e2210..644982d58f2ffca7255b7be738a4d146df1eaa57 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -224,9 +224,14 @@ def test_annotation(): assert rec.id == ann.id +@mark.skipif( + admin.get_server_property("TRANSACTION_BENCHMARK_ENABLED") != "TRUE") 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)" + "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