Example #1
0
 def test_headers_user_usepasswordoral_autologin(self):
     auth = Auth(1, autologin=2, pin=3)
     auth.__usepasswordoral__ = True
     self.assertEqual(auth.headers(), {"Autologin": 2})
Example #2
0
 def test_headers_user_usepasswordoral_password(self):
     auth = Auth(1, password=1, pin=3)
     auth.__usepasswordoral__ = True
     self.assertEqual(auth.headers(), {"Password": 1})