def test_file_not_end_with_csv(self):
     result = CheckValidFile.is_valid_file("file.txt")
     self.assertEqual(result, None)
    def test_invalid_file_type(self):

        result = CheckValidFile.is_csv_file('dr')
        self.assertEqual(result, False)
 def test_empty_file_type(self):
     result = CheckValidFile.is_csv_file('')
     self.assertEqual(result, False)
 def test_valid_file_type2(self):
     result = CheckValidFile.is_csv_file('-tsr')
     self.assertEqual(result, True)
 def test_valid_file(self):
     result = CheckValidFile.is_valid_file(
         "../tests/staticTestFile/06-16-2020.csv")
     self.assertEqual(result, "../tests/staticTestFile/06-16-2020.csv")
 def test_file_not_exist(self):
     result = CheckValidFile.is_valid_file("non_existed_file.csv")
     self.assertEqual(result, None)