diff options
author | Christian Schwede <christian.schwede@enovance.com> | 2014-02-26 09:52:38 +0000 |
---|---|---|
committer | Christian Schwede <christian.schwede@enovance.com> | 2014-03-25 11:32:51 +0000 |
commit | 100419c0b3443419b942d44e6e9d04ae6122678c (patch) | |
tree | 0075ab278270bb28ccab42cfad4649a226b541c9 /tox.ini | |
parent | 070dd48c315b63e9ba75fc1020922222c985b194 (diff) | |
download | python-swiftclient-100419c0b3443419b942d44e6e9d04ae6122678c.tar.gz |
Make bin/swift testable part 1
To make bin/swift importable for testing it needs to be renamed/moved.
The final idea is to move it to swiftclient/shell.py and add only a stub
in bin/swift to import swiftclient/shell.py.
However, doing this in a single step makes reviewing very hard, because
now there are > 1400 lines deleted from bin/swift and added to
swiftclient/shell.py - Gerrit doesn't detect the moved file.
For example: https://review.openstack.org/#/c/73710/2/
This patch first moves the code to swiftclient/shell.py and uses
setup.py/cfg to create the stub file in bin/swift. A follow up
(https://review.openstack.org/#/c/76489/) will then add the stub itself
in bin/swift (and remove the entry in setup.py).
The change to tox.ini is related to bug 1290562 and can be removed in
the future.
Change-Id: Id86392ccaf09e1d80a5d808fb49827d6d18c2588
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ deps = setuptools<3.2 [testenv:pep8] commands = - flake8 bin/swift swiftclient tests + flake8 swiftclient tests [testenv:venv] commands = {posargs} |