##// END OF EJS Templates
pytest: reduce *_util fixture to just relly on db_connection instead of whole baseapp.
marcink -
r2373:82ef6695 default
parent child Browse files
Show More
@@ -1114,7 +1114,7 b' def user_regular(baseapp):'
1114
1114
1115
1115
1116 @pytest.fixture
1116 @pytest.fixture
1117 def user_util(request, baseapp):
1117 def user_util(request, db_connection):
1118 """
1118 """
1119 Provides a wired instance of `UserUtility` with integrated cleanup.
1119 Provides a wired instance of `UserUtility` with integrated cleanup.
1120 """
1120 """
@@ -1518,7 +1518,7 b' class AppenlightClient():'
1518
1518
1519
1519
1520 @pytest.fixture
1520 @pytest.fixture
1521 def gist_util(request, baseapp):
1521 def gist_util(request, db_connection):
1522 """
1522 """
1523 Provides a wired instance of `GistUtility` with integrated cleanup.
1523 Provides a wired instance of `GistUtility` with integrated cleanup.
1524 """
1524 """
@@ -1549,7 +1549,7 b' def enabled_backends(request):'
1549
1549
1550
1550
1551 @pytest.fixture
1551 @pytest.fixture
1552 def settings_util(request):
1552 def settings_util(request, db_connection):
1553 """
1553 """
1554 Provides a wired instance of `SettingsUtility` with integrated cleanup.
1554 Provides a wired instance of `SettingsUtility` with integrated cleanup.
1555 """
1555 """
General Comments 0
You need to be logged in to leave comments. Login now