Commit Graph

16 Commits (8757a1099986e91cf514e5c5066255e381d70a5c)

Author SHA1 Message Date
Doug Hellmann 57354230f6 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

for more details.

Change-Id: I9e4b1c12d04434e387eb75f435ef0afbc70dc701
Signed-off-by: Doug Hellmann <>
5 years ago
ZhongShengping 23d1259956 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:

For more detials information, please refer to:

Change-Id: I2ad8c322fb668104132705ce58ca8a55b695ea36
5 years ago
Lingxian Kong 44e9752479 Add coverage test script
Story: 2001595
Task: 6545
Change-Id: Ib97c3b281377c30008abb9bd2d1fe78c515c91ef
5 years ago
Hunt Xu 113a29b17c tox.ini: add missing comments for H204 and H205

Change-Id: I9c006c2a943c45dd2dd6a9035a859335d6bbf0ce
5 years ago
gaofei aee1b062ba Replace Chinese punctuation with English punctuation
Change-Id: I0aacff4ad9be89e4c3958c61bf61110d0c3f6486
5 years ago
Zuul 3720db0ed6 Merge "Enable some off-by-default checks" 6 years ago
junboli 6ec05cc210 Switch from ostestr to stestr
This change updates the tox.ini file to call stestr
directly instead of going through ostestr.
For more background you can read the ML posting:
So now you won't need `--n` to run single tests, and you
can also supply regex directly without even the `--`.
For example:
  `tox -epy27 $regex`

Change-Id: I2b9b7fbd60b2cc5eea8af01e20cde5714df5027a
6 years ago
chenghuiyu 045995b079 Enable some off-by-default checks
Some of available checks are disabled by default,
like:[H106] Don’t put vim configuration in source
files;[H203] Use assertIs(Not)None to check for None;
[H904] Delay string interpolations at logging calls

Change-Id: Ic43e8b77cd6a700f3b71e89d6017f11a742fe87f
6 years ago
junboli e3573b7995 TrivialFix: make correction for error notes
We don't use wsmeext.sphinxext, it should be oslo_policy.sphinxext
not wsmeext.sphinxext. This patch is to correct this.

Change-Id: I33e717d5938bbe747ce93dbc79dcfca9cc78bc20
6 years ago
junboli eaa667d4df Fix 'cover' tox job fails for option --coverage not recognized
When running command tox -ecover, tox job will fail. the error message is

FAIL: process-returncode
tags: worker-0
returncode 1
Ran 733 (+17) tests in 856.852s (+164.804s)
FAILED (id=6, failures=2, skips=7)
error: testr failed (1)
ERROR: InvocationError: '/home/github/mistral/.tox/py27/bin/python test
_____________________________________________________ summary __________________
ERROR:   py27: commands failed

Change-Id: I21a335992683aa94d2cf47c4a4fc0f43849dec9a
Closes-bug: #1724121
6 years ago
Lingxian Kong 851227deea Add devstack installation doc
Change-Id: I7db6a270489aa7f8191ab1db7c6107bfa853e51f
6 years ago
Lingxian Kong be7a929743 Add functional tests for runtime
Change-Id: Ie1c77a86f7682a50d8b85b4ca19be6f1f38c431b
6 years ago
Lingxian Kong 1171944560 Add basic unit test structure
Partially implements: blueprint add-unit-tests

Change-Id: Ic96dcaf401f30bc098738818630777fc62040aca
6 years ago
Lingxian Kong 786f83d182 Support Keystone session in python runtime
Keystone session can be used directly in user function to access
OpenStack services.

Include openstack clients in python requirements as well.

Add a python function example.

Implements: blueprint qinling-openstack-clients
Change-Id: I4798c404cb57bafe14049f57ba8db7c7125106c7
6 years ago
Lingxian Kong 14812384c2 Make api service work 6 years ago
Lingxian Kong ef833a417f Initial commit for qinling project 6 years ago