예제 #1
0
 def test_create_unconnected_asset(self):
     """Tests if an unconnected asset can be created"""
     a = Asset('g1QkoSmSeHdWfGkMKlOlldLn')
     self.assertFalse(a.is_connected())
 def test_create_unconnected_asset(self):
     """Tests if an unconnected asset can be created"""
     a = Asset('g1QkoSmSeHdWfGkMKlOlldLn')
     self.assertFalse(a.is_connected())
예제 #3
0
 def test_create_connected_asset(self):
     """Tests if a connected asset can be created"""
     a = Asset('g1QkoSmSeHdWfGkMKlOlldLn', api=self.api)
     self.assertTrue(a.is_connected())
 def test_create_connected_asset(self):
     """Tests if a connected asset can be created"""
     a = Asset('g1QkoSmSeHdWfGkMKlOlldLn', api=self.api)
     self.assertTrue(a.is_connected())