From 150f64794bf45e4ab847241ccd12ee2c795bdf8c Mon Sep 17 00:00:00 2001 From: Matthew Richards Date: Mon, 26 Apr 2021 11:00:20 +0000 Subject: [PATCH] #210: Apply suggested change from PR --- test/test_config.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/test_config.py b/test/test_config.py index 5bb52764..a5fbbcd5 100644 --- a/test/test_config.py +++ b/test/test_config.py @@ -30,12 +30,7 @@ def test_invalid_get_config_value(self, test_config): pytest.param("db", id="Database Backend"), ], ) - def test_valid_config_items_exist(self, backend_type): - test_config = Config( - path=Path(__file__).parent.parent - / "datagateway_api" - / "config.json.example", - ) + def test_valid_config_items_exist(self, test_config, backend_type): test_config._config["backend"] = backend_type # Just want to check no SysExit's, so no assert is needed