def setUp(self): super(TestUserShow, self).setUp() self.users_mock.get.return_value = self.fake_user # Get the command object to test self.cmd = user.ShowUser(self.app, None)
def setUp(self): super(TestUserShow, self).setUp() self.users_mock.get.return_value = fakes.FakeResource( None, copy.deepcopy(identity_fakes.USER), loaded=True, ) # Get the command object to test self.cmd = user.ShowUser(self.app, None)