Skip to content

Commit b8e94c7

Browse files
author
notactuallyfinn
committed
fixed syntax error and added lost dependency
1 parent a30d385 commit b8e94c7

3 files changed

Lines changed: 44 additions & 6 deletions

File tree

poetry.lock

Lines changed: 37 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ pytest-cov = "^3.0.0"
7878
taskipy = "^1.10.3"
7979
flake8 = "^5.0.4"
8080
requests-mock = "^1.10.0"
81+
pytest-httpserver = "^1.1.5"
8182

8283
# Packages for developers for creating documentation
8384
[tool.poetry.group.docs]

test/hermes_test/model/test_api_e2e.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,9 @@ def test_process(tmp_path, monkeypatch, metadata_in, metadata_out):
629629
manager.finalize_step("harvest")
630630

631631
config_file = tmp_path / "hermes.toml"
632-
config_file.write_text(f"[harvest]\nsources = [{', '.join(f'\"{harvester}\"' for harvester in metadata_in)}]")
632+
config_file.write_text(
633+
"[harvest]\nsources = [" + ", ".join('\"' + f'{harvester}' + '\"' for harvester in metadata_in) + "]"
634+
)
633635

634636
orig_argv = sys.argv[:]
635637
sys.argv = ["hermes", "process", "--path", str(tmp_path), "--config", str(config_file)]
@@ -738,7 +740,9 @@ def test_process_complex(tmp_path, monkeypatch, metadata_in, metadata_out):
738740
manager.finalize_step("harvest")
739741

740742
config_file = tmp_path / "hermes.toml"
741-
config_file.write_text(f"[harvest]\nsources = [{', '.join(f'\"{harvester}\"' for harvester in metadata_in)}]")
743+
config_file.write_text(
744+
"[harvest]\nsources = [" + ", ".join('\"' + f'{harvester}' + '\"' for harvester in metadata_in) + "]"
745+
)
742746

743747
orig_argv = sys.argv[:]
744748
sys.argv = ["hermes", "process", "--path", str(tmp_path), "--config", str(config_file)]

0 commit comments

Comments
 (0)