Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cueapp #2437 Auth Fixes #116

Merged
merged 4 commits into from
Aug 17, 2021
Merged

Cueapp #2437 Auth Fixes #116

merged 4 commits into from
Aug 17, 2021

Conversation

PraveenCuebook
Copy link
Contributor

No description provided.

Comment on lines 42 to 51

@pytest.fixture()
def test_auth_middleware(client, mocker):
""" test middleware """
c = Client()
res = c.post("/accounts/login", {"email": "admin@domain.com", "password": "admin"} , follow=True)
res.status_code == 200
res = c.get("/accounts/login", follow=True)
assert res.status_code == 200
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add one more api other than login, from /anomaly or somewhere

@vincue vincue merged commit dcc2fd3 into main Aug 17, 2021
@vincue vincue deleted the CUEAPP#2437 branch August 23, 2021 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants