Commit Graph

15 Commits

Author SHA1 Message Date
Takashi Kajinami 52eb90c900 Show coverage report
... for easy reference. Also fix the missing coverage library.

Change-Id: I895c1372a17f708a1fb11198fe2f3461f4854f53
2024-02-07 12:33:35 +09:00
Takashi Kajinami 61021154d9 Bump hacking
hacking 3.0.x is too old.

Change-Id: I079657dc7f0a837c4579b061ed861074eafc0e54
2024-01-17 01:26:36 +09:00
Sean McGinnis 5c2557dbaf
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: Ib6e4e7f89a9990cfb42afa209878812340109ecf
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-09 09:59:03 -05:00
Ghanshyam Mann bb6f8f8e05 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

Also removing the hacking and other related dep from lower-constraints file
as theose are blacklisted requirements and does not need to be present
there.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: Id73106fee729aea32fe37234f3fa7d5263c196aa
2020-05-15 11:51:38 -05:00
Ha Manh Dong 97aec93e2b Switch to use stestr for unit test
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
So we should switch to stestr.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I14ae3879465e622f36fd7bba3f04cb6e0cb7500e
2018-07-19 15:30:51 -04:00
Zane Bitter bee7811c80 Modernise requirements
Conform to the PTI for docs builds, add lower-constraints jobs, and use
upper-constraints instead of synced global requirements constraints.

Change-Id: Iaf1b54b35d02dbb733c7782b178e4eb774c02ef6
2018-07-18 20:19:40 -04:00
Dirk Mueller f88f78b7f4 Remove discover from test-requirements
discover is only needed for Python 2.6.x or older.

Change-Id: Iea418fa2a7c826e157e96e1672d22b737c0669e1
2018-02-19 21:28:31 +01:00
ricolin 341d07e298 Add OpenStack doc support for heat cfntools
This allow build docs with new OpenStack doc format.

Change-Id: I4ed880ee5c03de40793ebdb4662cbaf3eeca12fa
2017-07-21 12:28:14 +08:00
Miro Hrončok 57f8ae8997 Ported tests from mox3 to mock to support Python >= 3.3
Change-Id: I55579328adc7003f78e78161aa6e047524a5c805
Related-Bug: 1403214
2015-02-22 22:19:20 +01:00
Steve Baker cd39c89a80 Manually sync requirements
Change-Id: Ic5a93d7f8e9a930b52cb99cf1a20a14175fdb770
2014-04-15 12:49:05 +12:00
Dirk Mueller 3a4e6b5b81 Switch over to mox3
mox3 is the Python 3.x compatible replacement
of mox.

Change-Id: If107d0ebde50d3461505c5f722d53557993f1e7e
2014-03-23 23:37:17 +01:00
Sascha Peilicke 8e7c392920 Sync with global requirements
And fix pep8 issues discovered by hacking update. Remove dependencies
on pep8, pyflakes and flake8. They should be determined by the hacking
dependency implicitely.

Change-Id: I3fefdabcfdc09c28756f5ab0f5a99d12de2d8a3a
2014-01-17 08:59:45 +01:00
Steve Baker 01705b8b33 Sync with global requirements
After requirements/update.py was run, the boto entry was
manually restored to:
boto==2.5.2

Change-Id: Icd43ee5e1fee473ab21d59b1a17235317f5d751c
2013-08-07 13:29:13 +12:00
JUN JIE NAN 1ad95945fa Fix test cases not running under python 2.6
Test cases running depends on `discover' package, but in python 2.6,
`discover' package is not there. So need to add `discover' in
test-requirements.txt.

Change-Id: I1129bc50c97861c9fca3894261ea1b831cd3f6cc
Fixes: bug #1193349
2013-06-27 18:04:04 +08:00
Steven Dake 8b813462b7 Rename requires files to standard names
From bug report:
Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files and tools in the
general world are growing intelligence about them.

Change-Id: I5d3bad7654e4ce101d19b40215d8c1cc93dd9832
Fixes: Bug #1179008
2013-05-16 09:33:00 -07:00