def test_all_configuration(self): neighbors = [] for file in self.files: # print file.split('/')[-1] configuration = Configuration([ file, ]) configuration.reload() self.assertEqual(check_neighbor(configuration.neighbor), True) del configuration
def test_all_configuration(self): neighbors = [] for filename in self.files: if filename.endswith(self.skip): continue print '-' * 80 print filename print '=' * 80 configuration = Configuration([ filename, ]) configuration.reload() self.assertEqual(check_neighbor(configuration.neighbor), True) del configuration
def setUp(self): self.configuration = Configuration(self.text_configuration, True) self.assertEqual( self.configuration.reload(), True, "could not read the configuration, run the configuration unittest")