def test_get_third_party_include_folder_returns_third_party_folders_in_that_tier( self): project = ProjectLayout() project.addTierForModulesLike('*/CodeLib', 1, 'code/CodeLib') self.assertEqual(['code/CodeLib'], project.getThirdPartyIncludeFolders(1))
def test_get_third_party_include_folder_returns_an_empty_list_for_higher_tiers_than_configured( self): project = ProjectLayout() project.addTierForModulesLike('*/CodeLib', 1, 'code/CodeLib') self.assertEqual([], project.getThirdPartyIncludeFolders(5))
def test_get_third_party_include_folder_returns_an_empty_list_for_no_folders( self): project = ProjectLayout() project.addTierForModulesLike('*/CodeLib', 4, 'code/CodeLib') self.assertEqual([], project.getThirdPartyIncludeFolders(1))