def test_dots_in_extensions_are_escaped(self): project = ProjectLayout() project.addHeaderPattern('*.i') self.assertFalse(project.isIncludeFile('Source/Module1/Fileai'))
def test_another_extension_can_be_added_to_includes(self): project = ProjectLayout() project.addHeaderPattern('*.i') self.assertTrue(project.isIncludeFile('Source/Module1/File.i'))