summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* python3: Refactor dict for python2/python3 compatChuck Short2013-10-111-1/+1
| | | | | | | | | | | Python3 changed the behavior of dict.keys such that it is now returns a dict_keys object, which is iterable but not indexable. You can get the python2 result back with an explicit call to list. Refactor list(*.keys()) so that it just uses list(). Change-Id: Ib2e9646ac967e9bd7cc4f47e2099f5d1358808a9 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Synch up with OSLO-IncubatorJohn Griffith2013-10-021-10/+10
| | | | | | | | | | Wanted to get updates before next push to pypi. The main thing driving this is we're now calling in some methods from strutils and gettextutils that don't have the py33 updates. Change-Id: I358f08f5c5c0a9ee6729947a8f01b1e96de0a729
* Sync strutils from osloChuck Short2013-08-141-2/+3
| | | | | | | | Sync strutils from oslo. Also import apiclient, gettextutils, and importutils. Change-Id: I565fd2cf40f2ea21842c6dbd581430b25d99fea6 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Sync install_venv_common from osloMonty Taylor2013-07-052-218/+260
| | | | Change-Id: I1649a8e777baf288b3aa4c2c29e2fe532dfe93be
* python3: Fix traceback while running testsChuck Short2013-06-191-1/+1
| | | | | | | | | | | | The testsuite is full of the following: TypeError: 'dict_keys' object does not support indexing This is due to the fact in python3 dict methods dict.keys(), dict.items() and dict.values() return “views” instead of lists. Change-Id: Ifa5383e6485fdbabf363fd1442877b2452346c1c Signed-off-by: Chuck Short <chuck.short@canonical.com>
* python3: Basic python3 compatibility.Chuck Short2013-06-121-10/+12
| | | | | | | Basic python3 compatibilty. Change-Id: I4388f5956cf397f8e33d20085aae6c6a728dbbda Signed-off-by: Chuck Short <chuck.short@canonical.com>
* python3: compatibility for iteritems and iterkeysChuck Short2013-06-111-1/+2
| | | | | | | | | | | | | | Use six to allow python2/pyton3 for iteritems and iterkeys. six.iteriems() replaces dictionary.iteritems() (python2) and dictionary.iterms() (python3) six.iterkeys() replaces dictionary.iterkeys (python2) and dictionary.keys() (python3) Change-Id: I26c80b78a7dedf3aa32eedf01a83ff6d1e592ba7 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Update run_tests and bring back colorizer.John Griffith2013-05-311-0/+335
| | | | | | | | | | This patch adds output of tests and their results to run_tests.sh. It also brings back colorizer to the output and updates the test-requirements. Should align with cinder changes that are in progress at: https://review.openstack.org/#/c/30291/ Change-Id: I3df6d861f4b4d4355464ceb2d507e69bcf682fbe
* Rename requires files to standard names.Monty Taylor2013-05-203-23/+2
| | | | | | Fixes bug 1179008. Change-Id: I6765bb82df1ae672790662a30ee3527450685036
* Migrate to pbr.Monty Taylor2013-05-201-0/+2
| | | | | | Fixes bug 1179007. Change-Id: I66b78ec4b5ba70a1bf1e375a5d1b7575a1879730
* Migrate to flake8.Monty Taylor2013-05-181-1/+6
| | | | | | Fixes bug 1172444. Change-Id: Ia063ec67de9e6061ce38b948c9eb60b5589c7bb4
* Pin prettytable versionsJohn Griffith2013-04-031-2/+2
| | | | | | | | | | pip-requires doesn't have any restrictions on prettytable. We should match up with the pinned version in other projects. In addition to avoid this problem in the future updated simplejson to match openstack/requirements as well. Change-Id: Iabf7ee8b0fd253447d1a65bc1b12906d26176286
* Remove unused tools/rfc.shMark McLoughlin2013-03-251-145/+0
| | | | | | | This has been deprecated in favour of git-review for quite a while now and was removed from Nova 10 months ago. Change-Id: Ic4bfa1aee3a4b6a7588be3678ac033a1b13e2b18
* Allow requests 0.8 and greaterChuck Short2013-02-111-1/+1
| | | | | | | | | Bump up version requirements for requests to standardize on version >= 0.8 so it doesnt create conflict with other openstack projects. Change-Id: I1ed9b3bd6bdbbbb451298a3c397e6e7a06c0cabd Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Move from nose to testr.Monty Taylor2013-01-171-4/+3
| | | | | | | | | | | Granted - this takes the test suite from 3 seconds to 1 second... but there are a bunch of other ways (correctness) that testr is better than nose. Removed tests/v1/utils - it was not being used anywhere. Part of blueprint grizzly-testtools. Change-Id: I54d9a0b7dc22305ec60d779d6f19025a0b5dc785
* Move from unittest2 to testtoolsMonty Taylor2012-12-241-3/+4
| | | | | | Part of blueprint grizzly-testtools Change-Id: I13e068ca156f12114eaa3a65bdb557e4eb2c988d
* Use requests module for HTTP/HTTPSDean Troyer2012-12-181-1/+1
| | | | | | | | | | | | | * Implement correct certificate verification * Add --os-cacert * Rework tests for requests Pinned requests module to < 1.0 as 1.0.2 is now current in pipi as of 17Dec2012. Blueprint: tls-verify Change-Id: I71066ff7297f3b70c08b7ae1c8ae8b6a1b82bbae
* Pin pep8 to 1.3.3Chuck Short2012-11-201-1/+1
| | | | | | | | Apart of making pep8 version standard across all openstack projects. Change-Id: If5ef6be394e557b3554a80f1ad9b44d472c273b6 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Merge "Add nosehtmloutput as a test dependency."Jenkins2012-08-301-0/+1
|\
| * Add nosehtmloutput as a test dependency.Clark Boylan2012-08-211-0/+1
| | | | | | | | | | | | | | | | Adding nosehtmloutput as a test dependency allows nose to output its results to an html file. This will be used by Jenkins to save logs on a different server. Change-Id: I439fc9742762e626610a7b0774ed1274cf38ceb7
* | Add the test environment for the virtualenv.Vincent Hou2012-08-221-1/+2
|/ | | | | | Resolve Bug1037422. Change-Id: Ib36ff6eff6e84af25a8d799173524ced9e6d5d06
* Rename bash completion file from nova to cinder.Chmouel Boudjnah2012-08-091-0/+0
| | | | Change-Id: I4bcdb482149271253e12f43fb85a663b5c938a14
* Bump pep8 to 1.2Chuck Short2012-07-201-1/+1
| | | | | | | Align it with outher openstack projects. Change-Id: I71a4b3303a354c0483c5da6a786ee6ae39388c77 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Set pep8 version to 1.1 in test_requiresJohn Griffith2012-06-152-4/+3
| | | | | | | * Fixes bug 1007520 * Changes in pep8 cause new failures Change-Id: Ie678f01a5008b0df6ef43a360b599890cab40776
* Align setup.py and tox with standards.Monty Taylor2012-05-212-5/+10
| | | | Change-Id: Ic63c6fd4d770303ae5f295c58e43213e88e34b57
* Initial split from python-novaclient.0.0Jenkins2012-05-216-0/+420