summaryrefslogtreecommitdiffstats
path: root/testapi/testapi-client/testapiclient/cli/auth.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2018-03-14 16:17:34 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2018-03-14 16:17:34 +0800
commitc761a572ae14368ad002a911d07d14c5c5c1b703 (patch)
tree67b7fc1d45540f869f955c63e6a097443e2b97c3 /testapi/testapi-client/testapiclient/cli/auth.py
parent0e0e2702eeeb824f57599c536ae1534c5b0668f7 (diff)
bugfix: TestAPI Cookie cannot be found
Change-Id: Ibab60aba26e30669dddab74ce61ed00197dc86a8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/testapi-client/testapiclient/cli/auth.py')
-rw-r--r--testapi/testapi-client/testapiclient/cli/auth.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/testapi/testapi-client/testapiclient/cli/auth.py b/testapi/testapi-client/testapiclient/cli/auth.py
deleted file mode 100644
index 434c55a..0000000
--- a/testapi/testapi-client/testapiclient/cli/auth.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from testapiclient.utils import command
-from testapiclient.utils import identity
-
-
-class Auth(command.Command):
- "Handle Authentication for users"
-
- def get_parser(self, prog_name):
- parser = super(Auth, self).get_parser(prog_name)
- return parser
-
- @identity.authenticate
- def take_action(self, parsed_args):
- print "Authentication has been successful!"