Skip to content

Commit 11edb8e

Browse files
committed
Changed test to point to rabbit API--duck API no longer needs async
1 parent 34e321a commit 11edb8e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

bb_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2908,14 +2908,14 @@ async def test_animal_api_down_raises_animal_exception(
29082908
httpx_mock: HTTPXMock,
29092909
) -> None:
29102910
httpx_mock.add_response(
2911-
url="https://random-d.uk/api/quack",
2911+
url="https://api.bunnies.io/v2/loop/random/?media=gif",
29122912
status_code=522,
29132913
)
29142914

29152915
with pytest.raises(
2916-
misc.AnimalException, match="Failed to call Duck Animal API",
2916+
misc.AnimalException, match="Failed to call Rabbit Animal API",
29172917
):
2918-
await misc.get_animal("duck")
2918+
await misc.get_animal("rabbit")
29192919

29202920

29212921
def test_get_frog_list_standard_layout(httpx_mock: HTTPXMock) -> None:

resources/images/tests.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)