def test_get_switches(self):
        # TODO: Fix to also check the returned info
        self.dpids_info = wrap_xmlrpc_call(
            self.om_client.get_switches, [], {}, TIMEOUT)
        dpids = set([d[0] for d in self.dpids_info])
        
        # check that we expect all the dpids
        expected = set(
            DummyFVDevice.objects.values_list('dpid', flat=True),
        )
        
        self.assertEqual(
            dpids, expected, 
            "Received dpids (%s) not same as expected (%s)." % (
                dpids, expected,
            )
        )
Test that a slice can be created and the calls are routed to the
dataset/ETHPy150Open fp7-ofelia/ocf/optin_manager/src/python/openflow/optin_manager/xmlrpc_server/tests.py/Tests.test_get_switches