示例#1
0
    def test_auth_true(self):

        client = SPTransClient()
        self.assertEqual(client.auth(), True)
示例#2
0
    def test_auth_false(self):

        client = SPTransClient()
        client.token = "000"

        self.assertEqual(client.auth(), False)