def test__login(self): try: output.login() me = output.me.get() print(me) except Exception: self.fail("User is logged out, he should be logged in")
def setUp(self) -> None: output.login()
def test__logout(self): output.login() output.logout() with self.assertRaises(Exception): me = output.me.get()