Example #1
0
 def test_get_updates(self):
     updates = get_updates(KEYS, False)
     self.assertEquals(len(updates), 2)
     self.assertEqual(updates['ssh_keys'], KEYS)
     self.assertEqual(updates['active'], False)
Example #2
0
 def test_get_updates_noop(self):
     updates = get_updates((), None)
     self.assertEquals(updates, {})