@@ -27,7 +27,6 @@ class GlobalData:
2727 graph_name : str = "test_graph"
2828 username : str = generate_username ()
2929 cluster : bool = False
30- enterprise : bool = False
3130 skip : list [str ] = None
3231 db_version : version .Version = version .parse ("0.0.0" )
3332
@@ -54,12 +53,6 @@ def pytest_addoption(parser):
5453 parser .addoption (
5554 "--cluster" , action = "store_true" , help = "Run tests in a cluster setup"
5655 )
57- parser .addoption (
58- "--enterprise" ,
59- action = "store_true" ,
60- default = True ,
61- help = "Run tests in an enterprise setup" ,
62- )
6356 parser .addoption (
6457 "--skip" ,
6558 action = "store" ,
@@ -69,6 +62,7 @@ def pytest_addoption(parser):
6962 "jwt-secret-keyfile" , # server was not configured with a keyfile
7063 "foxx" , # foxx is not supported
7164 "js-transactions" , # javascript transactions are not supported
65+ "enterprise" , # skip what used to be "enterprise-only" before 3.12
7266 ],
7367 default = [],
7468 help = "Skip specific tests" ,
@@ -86,7 +80,6 @@ def pytest_configure(config):
8680 global_data .secret = config .getoption ("secret" )
8781 global_data .token = JwtToken .generate_token (global_data .secret )
8882 global_data .cluster = config .getoption ("cluster" )
89- global_data .enterprise = config .getoption ("enterprise" )
9083 global_data .skip = config .getoption ("skip" )
9184 global_data .graph_name = generate_graph_name ()
9285
@@ -134,11 +127,6 @@ def skip_tests():
134127 return global_data .skip
135128
136129
137- @pytest .fixture
138- def enterprise ():
139- return global_data .enterprise
140-
141-
142130@pytest .fixture
143131def username ():
144132 return global_data .username
0 commit comments