Skip to content

Commit 7243356

Browse files
author
John Purcell
committed
updating prod mongo test to use --secret-cfg
1 parent 9a82f8e commit 7243356

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/test_pytest_plugin.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_secret_cfg(secret_cfg):
6161
""")
6262

6363
result = testdir.runpytest()
64-
print(result.parseoutcomes())
64+
# print(result.parseoutcomes())
6565
assert result.ret == 0
6666

6767
def test_regular_config(testdir):

‎tests/test_schema_utils.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_mongo_context_prodmode(self, secret_cfg):
5959
pytest.xfail('no mongo credentials')
6060

6161
mongo_context = schema_utils.MongoContextManager(
62-
helpers.TEST_CONFIG,
62+
secret_cfg,
6363
)
6464

6565
with mongo_context as mongo:

0 commit comments

Comments
 (0)