def testGetAmiLargeNoConfig(self): 'Should return a random ami from functional_amis, leaving it there.' n = table.small_experiment_threshold + 1 ami = table.get_ami(n) self.assertTrue(ami in table.functional_amis)
def testGetAmiSmallNoConfig(self): 'Should return a random ami from functional_amis, removing it from the same.' ami = table.get_ami(2) self.assertTrue(ami not in table.functional_amis)