'Testing the creation of two services with same names but different port
The result should only two services being created, since both have the different ids'

def test_create_two_services_same_names_different_port(self):

    h = self.plugin.createAndAddHost('pepito', 'linux')
    i = self.plugin.createAndAddInterface(h, '1.2.3.4')
    s1 = self.plugin.createAndAddServiceToInterface(h, i, 'unknown', protocol='tcp', ports=['80'])
    s2 = self.plugin.createAndAddServiceToInterface(h, i, 'unknown', protocol='tcp', ports=['443'])
    self._plugin_controller.last_command_information = self.cmdinfo
    self._plugin_controller.onCommandFinished()
    self._model_controller.processAllPendingActions()
    host = self._model_controller.getHost(h)
    interface = host.getInterface(i)
    self.assertNotEqual(s1, s2, 'Both    services    should    have    the    same    id')
    self.assertTrue((len(interface.getAllServices()) == 2), 'The    interface    should    have    two    services')
