aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/tests/integration/wqflask/test_metadata_edits.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/tests/integration/wqflask/test_metadata_edits.py b/wqflask/tests/integration/wqflask/test_metadata_edits.py
index 4b9e017d..1133be40 100644
--- a/wqflask/tests/integration/wqflask/test_metadata_edits.py
+++ b/wqflask/tests/integration/wqflask/test_metadata_edits.py
@@ -16,8 +16,9 @@ class MetadataEditsTest(unittest.TestCase):
def tearDown(self):
self.app_context.pop()
+ @mock.patch("wqflask.metadata_edits.database_connection")
@mock.patch("wqflask.metadata_edits.get_case_attributes")
- def test_show_case_attributes(self, mock_case_attrs):
+ def test_show_case_attributes(self, mock_case_attrs, mock_conn):
"""Test that case attributes are displayed correctly"""
mock_case_attrs.return_value = {
"Condition (1)": "",