Exemplo n.º 1
0
 def setUp(self):
     self.actionkit = ActionKit(
         domain='domain.actionkit.com',
         username='******',
         password='******'
     )
     self.actionkit.conn = mock.MagicMock()
Exemplo n.º 2
0
 def test_from_envrion(self):
     actionkit = ActionKit()
     self.assertEqual(actionkit.domain, 'env_domain')
     self.assertEqual(actionkit.username, 'env_username')
     self.assertEqual(actionkit.password, 'env_password')