Beispiel #1
0
 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()
Beispiel #3
0
 def test__logout(self):
     output.login()
     output.logout()
     with self.assertRaises(Exception):
         me = output.me.get()