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)
def test_get_updates_noop(self): updates = get_updates((), None) self.assertEquals(updates, {})