From 477f0a06ffb68577bac4737449d4cedb0426aef3 Mon Sep 17 00:00:00 2001 From: bwallacee Date: Mon, 26 Feb 2024 13:16:01 +0000 Subject: [PATCH] chore(trading): remove fixture usage --- apps/trading/e2e/tests/deal_ticket/test_stop_order_oco.py | 2 +- apps/trading/e2e/tests/referrals/test_referrals.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/trading/e2e/tests/deal_ticket/test_stop_order_oco.py b/apps/trading/e2e/tests/deal_ticket/test_stop_order_oco.py index b4498001c..6d622ab0e 100644 --- a/apps/trading/e2e/tests/deal_ticket/test_stop_order_oco.py +++ b/apps/trading/e2e/tests/deal_ticket/test_stop_order_oco.py @@ -235,7 +235,7 @@ def test_submit_stop_oco_market_order_pending( "PendingOCO" ) -@pytest.mark.usefixtures("page", "continuous_market", "auth", "risk_accepted") +@pytest.mark.usefixtures("auth", "risk_accepted") def test_submit_stop_oco_limit_order_pending( continuous_market, vega: VegaServiceNull, page: Page ): diff --git a/apps/trading/e2e/tests/referrals/test_referrals.py b/apps/trading/e2e/tests/referrals/test_referrals.py index 74dd00087..40601f439 100644 --- a/apps/trading/e2e/tests/referrals/test_referrals.py +++ b/apps/trading/e2e/tests/referrals/test_referrals.py @@ -119,7 +119,7 @@ def setup_market_and_referral_scheme(vega: VegaServiceNull, continuous_market: s forward_time(vega) -@pytest.mark.usefixtures("page", "auth", "risk_accepted") +@pytest.mark.usefixtures("auth", "risk_accepted") def test_can_traverse_up_and_down_through_tiers(continuous_market, vega: VegaServiceNull, page: Page): setup_market_and_referral_scheme(vega, continuous_market, page) change_keys(page, vega, PARTY_B.name) @@ -163,7 +163,7 @@ def test_can_traverse_up_and_down_through_tiers(continuous_market, vega: VegaSer "1%", "1", "1%", "0", "1", "1")) -@pytest.mark.usefixtures("page", "auth", "risk_accepted") +@pytest.mark.usefixtures("auth", "risk_accepted") def test_does_not_move_up_tiers_when_not_enough_epochs(continuous_market, vega: VegaServiceNull, page: Page): setup_market_and_referral_scheme(vega, continuous_market, page) change_keys(page, vega, PARTY_B.name)