diff --git a/royalnet/campaigns/tests/test_asynccampaign.py b/royalnet/campaigns/tests/test_asynccampaign.py index f158ae4d..06be24ee 100644 --- a/royalnet/campaigns/tests/test_asynccampaign.py +++ b/royalnet/campaigns/tests/test_asynccampaign.py @@ -37,7 +37,7 @@ async def test_failing_check(): campaign, = await AsyncCampaign.create(start=gen()) with pytest.raises(ChallengeFailedError): - await campaign.next(None) + await campaign.next() @pytest.mark.asyncio diff --git a/royalnet/campaigns/tests/test_campaign.py b/royalnet/campaigns/tests/test_campaign.py index 4be60973..c86e371d 100644 --- a/royalnet/campaigns/tests/test_campaign.py +++ b/royalnet/campaigns/tests/test_campaign.py @@ -34,7 +34,7 @@ def test_failing_check(): campaign, = Campaign.create(start=gen()) with pytest.raises(ChallengeFailedError): - campaign.next(None) + campaign.next() def test_switching():