correct magic plan url paths 🟩

This commit is contained in:
Daniel Roth 2026-05-12 14:33:58 +00:00
parent beaf21fdcc
commit 8727a78f8b

View file

@ -70,7 +70,7 @@ def test_get_plans_calls_correct_url(
# Act
client.get_plans()
# Assert
mock_session.get.assert_called_once_with(f"{BASE_URL}/plans")
mock_session.get.assert_called_once_with(f"{BASE_URL}/workgroups/plans")
def test_get_plans_calls_raise_for_status(
@ -132,7 +132,7 @@ def test_get_plan_calls_correct_url(
# Act
client.get_plan(plan_id)
# Assert
mock_session.get.assert_called_once_with(f"{BASE_URL}/plans/{plan_id}")
mock_session.get.assert_called_once_with(f"{BASE_URL}/plans/get/{plan_id}")
def test_get_plan_calls_raise_for_status(
@ -202,7 +202,7 @@ def test_get_plan_raw_calls_correct_url(
# Act
client.get_plan_raw(plan_id)
# Assert
mock_session.get.assert_called_once_with(f"{BASE_URL}/plans/{plan_id}")
mock_session.get.assert_called_once_with(f"{BASE_URL}/plans/get/{plan_id}")
def test_get_plan_raw_calls_raise_for_status(