def setUp(self):
    super(TestNetworkValidation, self).setUp()
    self.nc = mock.Mock()
    self.profile = server.ServerProfile('t', spec)
    self.profile._networkclient = self.nc
def setUp(self):
    super(TestNetworkValidation, self).setUp()
    self.nc = mock.Mock()
    self.profile = server.ServerProfile('t', spec)
    self.profile._networkclient = self.nc