Skip to content

unittest for logout#18

Open
lokodali wants to merge 2 commits intomasterfrom
feature/logout
Open

unittest for logout#18
lokodali wants to merge 2 commits intomasterfrom
feature/logout

Conversation

@lokodali
Copy link
Collaborator

No description provided.

self.assertEqual(response.status_code, http.HTTPStatus.OK)
self.assertIn('logout', response.data.decode('utf-8'))

# User can Login again after logging out
Copy link
Owner

Choose a reason for hiding this comment

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

We should test that user can not logout again after (s)he has logged out

data=data2
)

# Login user
Copy link
Owner

Choose a reason for hiding this comment

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

We should test that user can not login twice.

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