Beispiel #1
0
 def test_update_worker(self):
     db.update_worker('test')
     worker = db.get_worker('test')
     self.assertNotEqual(self.worker['updated_at'], worker['updated_at'])
Beispiel #2
0
 def test_update_worker(self):
     db.update_worker('test')
     worker = db.get_worker('test')
     self.assertNotEqual(self.worker['updated_at'], worker['updated_at'])
Beispiel #3
0
 def test_get_worker(self):
     worker = db.get_worker('test')
     self.assertEqual(self.worker['id'], worker['id'])
     self.assertEqual(self.worker['hostname'], worker['hostname'])
Beispiel #4
0
 def test_get_worker(self):
     worker = db.get_worker('test')
     self.assertEqual(self.worker['id'], worker['id'])
     self.assertEqual(self.worker['hostname'], worker['hostname'])
Beispiel #5
0
 def test_update_worker(self):
     db.update_worker("test")
     worker = db.get_worker("test")
     self.assertNotEqual(self.worker["updated_at"], worker["updated_at"])
Beispiel #6
0
 def test_get_worker(self):
     worker = db.get_worker("test")
     self.assertEqual(self.worker["id"], worker["id"])
     self.assertEqual(self.worker["hostname"], worker["hostname"])
Beispiel #7
0
 def test_update_worker(self):
     db.update_worker("test")
     worker = db.get_worker("test")
     self.assertNotEqual(self.worker["updated_at"], worker["updated_at"])
Beispiel #8
0
 def test_get_worker(self):
     worker = db.get_worker("test")
     self.assertEqual(self.worker["id"], worker["id"])
     self.assertEqual(self.worker["hostname"], worker["hostname"])