diff options
author | Serena Feng <feng.xiaowei@zte.com.cn> | 2018-03-14 13:10:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-14 13:10:17 +0000 |
commit | 15e1434ea6509f5ef286e23be2b8bcbd891ff0a5 (patch) | |
tree | 90976bd724972a1ea5e2d55907bbfeb77206c3b2 /testapi/testapi-client/testapiclient/main.py | |
parent | f06577aec659c50521ff7f69321aec604b936749 (diff) | |
parent | b195125202e028287b94ddffbf5be50911dbd20b (diff) |
Merge "save authentication with save auth_complete"
Diffstat (limited to 'testapi/testapi-client/testapiclient/main.py')
-rw-r--r-- | testapi/testapi-client/testapiclient/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/testapi-client/testapiclient/main.py b/testapi/testapi-client/testapiclient/main.py index 22a8fbd..a448146 100644 --- a/testapi/testapi-client/testapiclient/main.py +++ b/testapi/testapi-client/testapiclient/main.py @@ -36,7 +36,7 @@ class TestAPIClient(app.App): def prepare_to_run_command(self, cmd): self.LOG.debug('prepare_to_run_command %s', cmd.__class__.__name__) - if self.options.u: + if self.client_manager.auth_required: self.client_manager.auth() def clean_up(self, cmd, result, err): |