diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2019-09-30 21:19:42 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2019-09-30 21:19:42 +0100 |
commit | 240e9d6dbb8b1e26c50889e3f91765f943b78740 (patch) | |
tree | 807c671e334462914db84d0e2bf21e5e63bff8f9 /datamaps/tests/test_cli.py | |
parent | 3fd0dec3a124df0c95dfd5843cdafc19abed6eca (diff) |
partially through capturing proper exception text
Diffstat (limited to 'datamaps/tests/test_cli.py')
-rw-r--r-- | datamaps/tests/test_cli.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/datamaps/tests/test_cli.py b/datamaps/tests/test_cli.py index 506e4d6..3857626 100644 --- a/datamaps/tests/test_cli.py +++ b/datamaps/tests/test_cli.py @@ -25,11 +25,10 @@ def test_no_expected_sheet_in_batch_import_to_master(mock_config, resource_dir): Path.cwd() / "tests" / "resources" / fl, (Path(mock_config.PLATFORM_DOCS_DIR) / "input"), ) - dm_file = mock_config.PLATFORM_DOCS_DIR / "input" / "datamap.csv" result = runner.invoke(_import, ["templates", "-m"]) - assert "No sheet named Introduction in test_template.xlsm, which is expected from" \ + assert "Expected Sheet Missing: sheet Introduction in test_template.xlsm is expected from" \ " datamap.csv. Not processing that file until fixed." in result.output - assert "Imported data from input/dft1_temp.xlsm to output/master.xlsx." in result.output - assert "Finished." in result.output + # assert "Imported data from input/dft1_temp.xlsm to output/master.xlsx." in result.output + # assert "Finished." in result.output |