chore(trading): remove fixture usage (#5865)

This commit is contained in:
Ben 2024-02-26 14:24:56 +00:00 committed by GitHub
parent 3c6a806ad3
commit 22599673ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -235,7 +235,7 @@ def test_submit_stop_oco_market_order_pending(
"PendingOCO" "PendingOCO"
) )
@pytest.mark.usefixtures("page", "continuous_market", "auth", "risk_accepted") @pytest.mark.usefixtures("auth", "risk_accepted")
def test_submit_stop_oco_limit_order_pending( def test_submit_stop_oco_limit_order_pending(
continuous_market, vega: VegaServiceNull, page: Page continuous_market, vega: VegaServiceNull, page: Page
): ):

View File

@ -119,7 +119,7 @@ def setup_market_and_referral_scheme(vega: VegaServiceNull, continuous_market: s
forward_time(vega) 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): def test_can_traverse_up_and_down_through_tiers(continuous_market, vega: VegaServiceNull, page: Page):
setup_market_and_referral_scheme(vega, continuous_market, page) setup_market_and_referral_scheme(vega, continuous_market, page)
change_keys(page, vega, PARTY_B.name) 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")) "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): 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) setup_market_and_referral_scheme(vega, continuous_market, page)
change_keys(page, vega, PARTY_B.name) change_keys(page, vega, PARTY_B.name)