From 4335e01fb4dbcec7f0a7f2e749bb1548f6518183 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 8 Oct 2020 19:29:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Remove=20useless=20parameter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- royalnet/campaigns/tests/test_asynccampaign.py | 2 +- royalnet/campaigns/tests/test_campaign.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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():