def test_construct_entities_block_indicator_types(self): """ Given indicator type entities_data. When generates pack release note block for indicator type. Then Ensure the method is valid and the release note block contains accountRep indicator. """ entities_data = {'IndicatorTypes': {'accountRep': ''}} rn = construct_entities_block(entities_data) assert '### IndicatorTypes' in rn assert '- **accountRep**' in rn
def test_construct_entities_block_integration(self): """ Given integration entities_data. When generates pack release note block for integration. Then Ensure the method is valid and the release note block contains Tanium integration. """ entities_data = {'Integrations': {'Tanium': 'Tanium endpoint security and systems management'}} rn = construct_entities_block(entities_data) assert '### Integrations' in rn assert '##### Tanium' in rn assert 'Tanium endpoint security and systems management' in rn