summaryrefslogtreecommitdiff
path: root/tests/test_shell.py
Commit message (Collapse)AuthorAgeFilesLines
* Move test_shell.py under tests/unit/anc2014-05-201-336/+0
| | | | | | | | | Looks like test_shell.py got left behind when the unit tests were relocated under tests/unit. As a consequence they weren't included in tox runs. Change-Id: I93435e6141c5e3ad4a9403626f226d7c760cbd7c
* Mock auth_end_time in test_shell.test_downloadChmouel Boudjnah2014-04-251-10/+14
| | | | | | | | If we don't we are getting an error like this under py3: TypeError: unsupported operand type(s) for /: 'float' and 'MagicMock' Change-Id: If5a6947757297354e6b81fc45f011cc2921d609f
* Merge "Fixed several shell tests on Python3."Jenkins2014-04-241-0/+5
|\
| * Fixed several shell tests on Python3.Alex Gaynor2014-04-231-0/+5
| | | | | | | | | | | | | | They currently fail because on Python3 arbitrary objects cannot be compared, in this case, MagicMock and int. In Python2 these comparisons silently pass. Change-Id: I468c2137702a454365886099e827d329cb1d7209
* | Updated test_shell for Python3Alex Gaynor2014-04-231-2/+10
|/ | | | Change-Id: Ia76e544fa6e0a222c260191a1ab74939078ed2fb
* Add tests for bin/swiftChristian Schwede2014-04-141-0/+319
Tests are written to ensure bin/swift is working properly and using functions from swiftclient modules as expected. Change-Id: Idb0581516b7e0a41c97977bb0bb9f8290f67ad13