def test_authorization(self): self.assertEqual(self.ticket._authorization.username, config('TOKEN')) self.assertEqual(self.ticket._authorization.password, 'token')