Пример #1
0
    def test_login(self):
        # Call the service, which will send a request to the server.
        auth = Auth(user='******', password='******')

        # If the request is sent successfully, then I expect a response to
        # be returned.
        self.assertIsInstance(auth.__str__(), str)
        self.assertFalse(auth.is_expired())