def test_get_sd_pb_port(self): """A test for the get_sd_pb_port function.""" sso_port = 50001 self.patch(windows, "get_sso_pb_port", lambda: sso_port) result = windows.get_sd_pb_port() expected = sso_port + windows.SD_SSO_PORT_OFFSET self.assertEqual(result, expected)
def test_get_sd_pb_port(self): """A test for the get_sd_pb_port function.""" result = windows.get_sd_pb_port() self.assertEqual(result, windows.SD_PORT)