'Verify that Switch dpid is the actual dpid assigned if dpid is
passed in switch creation.'

def testActualDpidAssignment(self):

    dpid = self.dpidFrom(43981)
    switch = Mininet(Topo(), self.switchClass, Host, Controller).addSwitch('s1', dpid=dpid)
    self.assertEqual(switch.dpid, dpid)
