summaryrefslogtreecommitdiff
path: root/cinderclient/tests/functional/test_readonly_cli.py
Commit message (Collapse)AuthorAgeFilesLines
* Drop 'endpoints' and 'credentials' commandsSean McGinnis2019-04-181-8/+0
| | | | | | | | We are past the deprecation period for these commands and they should now be removed. Change-Id: I37f0dc539da5d43f629ea726bb603fa995c1fe6f Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Modify assertTruezheng yin2016-09-111-1/+1
| | | | | | For example: assertTrue(v1<v2) is equal to assertLess(v1,v2) Change-Id: Ic4a0e80eab167079631ac7dc054ad4d2a8a02fab
* Add tests for python-cinderclient and style fixKyrylo Romanenko2015-06-181-9/+20
| | | | | | | | | | Add test for cinder extra-specs-list command output. Add test for cinder list-extension command output. Fix pep8 issues "E128 continuation line under-indented for visual indent" in other functions. Change-Id: I28266af7a6ff23b83899c50cc230f926a44592dc Partial-Bug: #1463404
* Fix functional readonly_cli testsAnton Arefiev2015-05-261-22/+22
| | | | | | | | | | | | Parser.listing method return empty list if env doesn't have resources, so assertTableStruct works wrong, doesn't check field names in the output table. This change add new assert(assertTableHeaders) to check resource attributes. Change-Id: Ieca67b5cc2202467527c5a2dfbd7b2f2b4d5ad8d Closes-Bug: #1458932
* Add CLI read-only functional testsJohn Griffith2015-05-041-0/+89
First pass at functional tests in cinderclient. This patch just takes some of the basic CLI tests from tempest and moves them into the cinderclient functional tests. These are read-only tests, and just do simple field checks on the tables generated by the basic list commands. Note: to run use "tox -efunctional", this requires that you have a full cinderclient env and credentials are set. You may be either running this locally (say in a devstack env) or you may have a remote cloud handy that you can just source the credentials for and run it that way. Change-Id: I2f09a63be265d6a74cb103d80579068b9ab66bf4