Esempio n. 1
0
 def save_updates_space(self):
     space = Space(self.conn, 'some name').save()
     self.assertEqual(space.name, 'some name')
     space.name = 'new name'
     space.save()
     self.assertEqual(self.conn.find_space('new_name').name, 'new name')
Esempio n. 2
0
 def save_updates_space(self):
     space = Space(self.conn, 'some name').save()
     self.assertEqual(space.name, 'some name')
     space.name = 'new name'
     space.save()
     self.assertEqual(self.conn.find_space('new_name').name, 'new name')