def testGetFormatStringAttributeNames(self): """Tests the GetFormatStringAttributeNames function.""" event_formatter = mackeeper_cache.MacKeeperCacheFormatter() expected_attribute_names = [ 'description', 'event_type', 'text', 'url', 'record_id', 'room' ] self._TestGetFormatStringAttributeNames(event_formatter, expected_attribute_names)
def testInitialization(self): """Tests the initialization.""" event_formatter = mackeeper_cache.MacKeeperCacheFormatter() self.assertNotEqual(event_formatter, None)