Skip to content

Commit e4717e8

Browse files
committed
Add test for cypress defaults
1 parent 7a0d7cb commit e4717e8

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

tests/penn_chime/test_parameters.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
1-
""""""
1+
"""Test Parameters."""
2+
23
from penn_chime.parameters import Parameters
34

45

6+
def test_cypress_defaults():
7+
"""Ensure the cypress defaults have been updated."""
8+
# TODO how to make this work when the module is installed?
9+
_ = Parameters.create({"PARAMETERS": "./defaults/cypress.cfg"}, [])
10+
11+
512
def test_cli_defaults():
6-
"""Ensure if the cli defaults have been updated."""
13+
"""Ensure the cli defaults have been updated."""
714
# TODO how to make this work when the module is installed?
8-
_ = Parameters.create({'PARAMETERS': './defaults/cli.cfg'}, [])
15+
_ = Parameters.create({"PARAMETERS": "./defaults/cli.cfg"}, [])
916

1017

1118
def test_webapp_defaults():
1219
"""Ensure the webapp defaults have been updated."""
1320
# TODO how to make this work when the module is installed?
14-
_ = Parameters.create({'PARAMETERS': './defaults/webapp.cfg'}, [])
21+
_ = Parameters.create({"PARAMETERS": "./defaults/webapp.cfg"}, [])

0 commit comments

Comments
 (0)