def testGetFormatStringAttributeNames(self): """Tests the GetFormatStringAttributeNames function.""" event_formatter = mac_wifi.MacWifiLogFormatter() expected_attribute_names = [u'action', u'user', u'function', u'text'] self._TestGetFormatStringAttributeNames(event_formatter, expected_attribute_names)
def setUp(self): """Makes preparations before running an individual test.""" self._formatter = mac_wifi.MacWifiLogFormatter()
def testInitialization(self): """Tests the initialization.""" event_formatter = mac_wifi.MacWifiLogFormatter() self.assertIsNotNone(event_formatter)