Skip to content

Commit

Permalink
#210: Apply suggested change from PR
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Apr 26, 2021
1 parent 2ffe5a9 commit 150f647
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 150f647

Please sign in to comment.