Commit Graph

11 Commits

Author SHA1 Message Date
Tony Breeds 7b625eb002 Add Constraints support
To be co-installable with other OpenStack projects and have consistent
testing it's a good idea (tm) to use constraints when creating tox
environments.

Change-Id: I753eba5de69388d98b616eef7d12054539b279f8
2016-12-21 11:06:57 +11:00
Ronald Bradford 234daf3283 Remove remaining unused Oslo Incubator Code
Remove the last remaining references to Oslo incubator in the project
as this is no longer used, and no longer supported.
Adjust tox configuration to no longer require tools scripts to define
Oslo incubator venv.

Change-Id: I8d012a8e784386892a28ab476d2e87afdd2657fd
2016-07-20 16:23:50 -04:00
ting.wang 3926a5e0ab Add debug testenv in tox
Once we add debug testenv, we can use "tox debug -- --debug"
to debug test cases when tox is running.

Change-Id: I6f56257e4bbe3f9e303c014f169f016c5668269e
2016-01-11 17:44:25 +08:00
janonymous 0992f603b4 py33 are no longer supported by Infra's CI
Python 3.3 support would be dropped by
Infra team from mitaka,CI would no longer be testing it,
so projects should drop it also.

Change-Id: I7d3e377b4ce05caf2606d493ddd18b9bff3add4d
2015-12-26 13:55:28 +05:30
Janonymous 791a27e00d Put py34 first in the env order of tox
To solve the problem of "db type could
not be determined" on py34 we have to run first the py34 env to, then, run
py27. This patch puts py34 first on the tox.ini list of envs to avoid this
problem to happen.

Change-Id: Ide061d82c130231e653c91e6a9c8db8b43225535
Closes-bug: #1489059
2015-12-22 18:38:19 +05:30
Ondřej Nový 7c0484f0eb Deprecated tox -downloadcache option removed
Caching is enabled by default from pip version 6.0

More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Change-Id: I876fe6ffd052e976f925b1fd024c564faddfe484
2015-12-14 13:56:58 +00:00
hayderimran7 eca38ac99f Remove ec2api and use gceapi in files.
Tox egenconfig fails because its using ec2api instead
of gceapi. also the readme was named as ec2api which
is fixed in this patch.

Change-Id: I1a7b4462f53339077e13385e84e043b096cbc2ed
2015-10-20 22:23:34 -07:00
Andrey Pavlov 75905790e5 update gce api to current OpenStack
- add devstack plugin
- update openstack common
- move unit tests to unit folder
- update infrastructural files

Change-Id: Id72006f70110dbd1762f42b582470ac5f3439f2a
2015-09-03 17:16:30 +03:00
Jeremy Stanley 03f7ec808c Work toward Python 3.4 support and testing
Change-Id: If77de12ef3b8282c4a9df4f62da6694b3226c2ef
2014-09-22 23:17:23 +00:00
Jeremy Stanley 44e144b15f Set python hash seed to 0 in tox.ini
New tox (>=1.7.0) sets a random python hash seed by default. This is
generally good for testing because it will help keep projects working
regardless of the hash seed, but nova unittests don't currently pass
with a random hash seed so set it to the python default seed.

This change will allow us to use new tox again and remove the
restriction on tox<=1.6.1 to run unittests.

Redundant setenvs for specific test envs are removed to prevent them
from overriding the PYTHONHASHSEED value.

Note this change will need to be backported to the stable branches to
keep unittests there working with new tox as well.

Change-Id: Ib1dc229c0a678dd5324712baa25404aff08f9581
Co-Authored-By: Clark Boylan <clark.boylan@gmail.com>
Related-Bug: #1348818
2014-09-22 23:17:23 +00:00
Alexandre Levine 754725a4aa GCE-API support service for OpenStack
Change-Id: I80f6b024cb40ba31ebaacf35d7364f66115da9c6
Implements: blueprint gce-api
2014-02-04 19:16:29 +04:00