def test_text_file(self): result = _is_htm_file(pathlib.Path("mbed.txt")) self.assertEqual(False, result)
def test_upper_case_htm(self): result = _is_htm_file(pathlib.Path("MBED.HTM")) self.assertEqual(True, result)
def test_hidden_htm(self): result = _is_htm_file(pathlib.Path(".htm")) self.assertEqual(False, result)
def test_lower_case_htm(self): result = _is_htm_file(pathlib.Path("mbed.htm")) self.assertEqual(True, result)