예제 #1
0
파일: test_cnc_table.py 프로젝트: F3DS/f3ds
 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)
예제 #2
0
파일: test_cnc_table.py 프로젝트: F3DS/f3ds
 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)