Exemplo n.º 1
0
 def test_key_propert_sets_values_on_session_auth_object_correctly(self):
     session = BitexSession()
     session.auth = BitexAuth('key', 'secret')
     session.key = 'chugaloo'
     assert session.auth.key == 'chugaloo'
Exemplo n.º 2
0
 def test_secret_property_gets_values_on_session_auth_object_correctly(
         self):
     session = BitexSession()
     session.auth = BitexAuth('key', 'chugaloo')
     assert session.secret == 'chugaloo'