Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eighthcolor22 committed Mar 19, 2024
1 parent 1c5ea5c commit b8e005a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,6 @@ async def test_subscribe_to_topic_with_incorrect(fake_async_fcm_client_w_creds,
@pytest.mark.parametrize("fake_multi_device_tokens", (3,), indirect=True)
async def test_unsubscribe_to_topic(fake_async_fcm_client_w_creds, fake_multi_device_tokens, httpx_mock: HTTPXMock):
fake_async_fcm_client_w_creds._get_access_token = fake__get_access_token
creds = fake_async_fcm_client_w_creds._credentials
httpx_mock.add_response(
status_code=200,
json={"results": [{}, {}, {}]},
Expand All @@ -797,7 +796,7 @@ async def test_unsubscribe_to_topic(fake_async_fcm_client_w_creds, fake_multi_de


@pytest.mark.parametrize("fake_multi_device_tokens", (3,), indirect=True)
async def test_subscribe_to_topic_with_incorrect(fake_async_fcm_client_w_creds, fake_multi_device_tokens, httpx_mock: HTTPXMock):
async def test_unsubscribe_to_topic_with_incorrect(fake_async_fcm_client_w_creds, fake_multi_device_tokens, httpx_mock: HTTPXMock):
fake_async_fcm_client_w_creds._get_access_token = fake__get_access_token
creds = fake_async_fcm_client_w_creds._credentials

Expand Down

0 comments on commit b8e005a

Please sign in to comment.