def test_file_input_is_txt(self): self.assertTrue(validate_file(self.file))
def test_file_input_multiple_dots(self): multi_dot_file = open('test.tmp.txt') self.assertTrue(validate_file(multi_dot_file))