Example #1
0
 def test_get_updates_basic(self):
     updates = get_updates(INSTANCE_TYPE, COREOS_CHANNEL, COREOS_VERSION,
                           True, ADMINS)
     self.assertEquals(len(updates), 5)
Example #2
0
 def test_get_updates_noop(self):
     updates = get_updates(None, None, None, None, ())
     self.assertEquals(len(updates), 0)