Beispiel #1
0
 def test_RecognizeFileType_DIR(self):
     self.assertEqual(recognize_file_type(DataForTest_DIR), InputType.dir)
Beispiel #2
0
 def test_RecognizeFileType_LS(self):
     self.assertEqual(recognize_file_type(DataForTest_LS), InputType.ls)
Beispiel #3
0
 def test_RecognizeFileType_UNKNOWN(self):
     self.assertEqual(recognize_file_type(DataForTest_UNKNOWN), InputType.unknown)
Beispiel #4
0
 def test_RecognizeFileType_DIR(self):
     self.assertEqual(recognize_file_type(DataForTest_DIR), InputType.dir)
Beispiel #5
0
 def test_RecognizeFileType_LS(self):
     self.assertEqual(recognize_file_type(DataForTest_LS), InputType.ls)
Beispiel #6
0
 def test_RecognizeFileType_UNKNOWN(self):
     self.assertEqual(recognize_file_type(DataForTest_UNKNOWN),
                      InputType.unknown)