aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMR Lemon <matt@matthewlemon>2020-05-17 10:26:05 +0100
committerMR Lemon <matt@matthewlemon>2020-05-17 10:26:05 +0100
commit5e9d41e5d2fbb477d1cb96a53c6fce4db893f115 (patch)
tree6cbab6c4b4f4f21f058604c3f91117a6beb2fd70
parente9bc7992f0a1e64994726eccce60b511f99ca8fb (diff)
attempted fix for failing GA nox test
-rw-r--r--datamaps/tests/test_cli.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/datamaps/tests/test_cli.py b/datamaps/tests/test_cli.py
index 135f280..d5f2ffe 100644
--- a/datamaps/tests/test_cli.py
+++ b/datamaps/tests/test_cli.py
@@ -33,8 +33,8 @@ def test_import_with_alternative_datamap(mock_config, resource_dir, caplog):
_alt_datamap_file = os.path.join(mock_config.PLATFORM_DOCS_DIR, "input", "datamap_alternate.csv")
result = runner.invoke(_import, ["templates", "-m", "-d", _alt_datamap_file])
assert result.exit_code == 0
- assert "Reading datamap \\tmp\\Documents\\datamaps\\input\\datamap_alternate.csv" in [x[2] for x in
- caplog.record_tuples]
+ assert "Reading datamap /tmp/Documents/datamaps/input/datamap_alternate.csv" in [x[2] for x in
+ caplog.record_tuples]
def test_import_with_wrong_datamap(mock_config, resource_dir, caplog):
@@ -69,8 +69,8 @@ def test_export_with_alternative_datamap_not_csv(mock_config, resource_dir, capl
_master_file = os.path.join(mock_config.PLATFORM_DOCS_DIR, "input", "master.xlsx")
_alt_datamap_file = os.path.join(mock_config.PLATFORM_DOCS_DIR, "input", "datamap_alternate.csv")
_ = runner.invoke(export, ["master", _master_file, "-d", _alt_datamap_file])
- assert "Reading datamap \\tmp\\Documents\\datamaps\\input\\datamap_alternate.csv" in [x[2] for x in
- caplog.record_tuples]
+ assert "Reading datamap /tmp/Documents/datamaps/input/datamap_alternate.csv" in [x[2] for x in
+ caplog.record_tuples]
@pytest.mark.skip("Not currently passing - need to investigate")