Skip to content

Commit

Permalink
switched to /workflows/automation
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal-Babins committed Feb 15, 2024
1 parent e1b5273 commit 679c1da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def nmdc_api(requests_mock):
}
requests_mock.post("http://localhost/token", json=data)
requests_mock.post("http://localhost/pids/mint", json=["nmdc:abcd"])
requests_mock.post("http://localhost/v1/workflows/activities", json=["nmdc:abcd"])
requests_mock.post("http://localhost/workflows/activities", json=["nmdc:abcd"])


@fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/test_watch_nmdc.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def mock_nmdc_api(requests_mock):
rqc = json.load(open(rqcf))
resp = {"resources": [rqc]}
requests_mock.get("http://localhost/jobs", json=resp)
requests_mock.post("http://localhost/v1/workflows/activities", json={})
requests_mock.post("http://localhost/workflows/activities", json={})
requests_mock.patch("http://localhost/operations/nmdc:1234", json={})
requests_mock.get("http://localhost/operations/nmdc:1234",
json={'metadata': {}})
Expand Down

0 comments on commit 679c1da

Please sign in to comment.