remove unused monkeypatch
This commit is contained in:
parent
261a00adb2
commit
e89be59d3e
@ -33,7 +33,7 @@ def test_login_with_valid_bearer_token(app, monkeypatch, http_client, base_url):
|
||||
|
||||
|
||||
@pytest.mark.gen_test
|
||||
def test_login_with_via_dev_endpoint(app, monkeypatch, http_client, base_url):
|
||||
def test_login_via_dev_endpoint(app, http_client, base_url):
|
||||
response = yield http_client.fetch(
|
||||
base_url + "/login-dev", raise_error=False, follow_redirects=False
|
||||
)
|
||||
@ -44,8 +44,7 @@ def test_login_with_via_dev_endpoint(app, monkeypatch, http_client, base_url):
|
||||
|
||||
@pytest.mark.gen_test
|
||||
@pytest.mark.skip(reason="need to work out auth error user paths")
|
||||
def test_login_with_invalid_bearer_token(monkeypatch, http_client, base_url):
|
||||
monkeypatch.setattr("atst.handler.validate_login_token", lambda t: False)
|
||||
def test_login_with_invalid_bearer_token(http_client, base_url):
|
||||
response = yield http_client.fetch(
|
||||
base_url + "/home",
|
||||
raise_error=False,
|
||||
|
Loading…
x
Reference in New Issue
Block a user