summaryrefslogtreecommitdiff
path: root/openstackclient/tests/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests/utils.py')
-rw-r--r--openstackclient/tests/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/openstackclient/tests/utils.py b/openstackclient/tests/utils.py
index ff7d8a33..45163189 100644
--- a/openstackclient/tests/utils.py
+++ b/openstackclient/tests/utils.py
@@ -71,6 +71,7 @@ class TestCommand(TestCase):
self.fake_stdout = fakes.FakeStdout()
self.app = fakes.FakeApp(self.fake_stdout)
self.app.client_manager = fakes.FakeClientManager()
+ self.app.restapi = fakes.FakeRESTApi()
def check_parser(self, cmd, args, verify_args):
cmd_parser = cmd.get_parser('check_parser')