예제 #1
0
 def test_input_folder_invalid_non_existant(self):
     input = input_folder_exists('files/')
     self.assertFalse(input)
예제 #2
0
 def test_input_folder_invalid_blank(self):
     input = input_folder_exists(' ')
     self.assertFalse(input)
예제 #3
0
 def test_input_folder_invalid_01(self):
     input = input_folder_exists('01')
     self.assertFalse(input)
예제 #4
0
 def test_input_folder_empty(self):
     input = input_folder_exists('tests/empty')
     self.assertFalse(input)
예제 #5
0
 def test_input_folder_valid(self):
     input = input_folder_exists('tests/images/')
     self.assertTrue(input)