summaryrefslogtreecommitdiff
path: root/tests/test_command_helpers.py
Commit message (Collapse)AuthorAgeFilesLines
* Add functional tests for python-swiftclientChristian Schwede2014-05-051-197/+0
| | | | | | | | | Coverage for swiftclient.client is 71% with these tests. Unit tests have been moved into another subdirectory to separate them from functional tests. Change-Id: Ib8c4d78f7169cee893f82906f6388a5b06c45602
* Use the standard library's copy of mock when it's available.Alex Gaynor2014-03-311-1/+5
| | | | Change-Id: Id6a31157582efe47cc3a74e6658679c2bec14767
* Use six.StringIO instead of StringIO.StringIOzhang-jinnan2014-03-031-1/+1
| | | | | | Keep Python 3.x compatibility Change-Id: If7a8f0630bd2582ca9488313dcc59805c2ce1835
* Add verbose output to all stat commandsClay Gerrard2013-10-091-0/+193
When you stat a container or object with the verbose flag the full path of the reousrce will be displayed with the token similarlly to how an account stat displays the auth url and token. * move some logic out of bin/swift.st_stat to test it * new module swiftclient.commnad_helpers for code you want to test * moved prt_bytes into swiftclient.utils to test it * fixed IndexError with prt_bytes on sizes >= 1024Y Change-Id: Iaaa96e0308b08c554205b0055b8a04de581fefa4