Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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)