Commit Graph

17 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
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
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
Clint Byrum beff5a1e72 Add .tox directory to .gitignore
Change-Id: I09ade1d6b6bcbe82662f42a4df1f9c38fbae1e26
2013-03-19 11:39:28 -07:00
Steve Baker fabcdf19c8 Use testr to run the unit tests.
Run unit tests with:
./setup.py testr
2013-02-21 11:13:43 +13:00
Steve Baker 4a9558f144 Ignores 2012-12-24 16:58:27 +13:00
Tomas Sedovic f8ae70765f Fix the setup.py warnings 2012-06-06 14:06:20 +02:00
Monty Taylor 2fc479c684 Align with project standards.
Rebased from: Change-Id: Ifc9fff4f88dfaebe97b7caba4d603d23c645e346

Reviewed-by: Steven Dake <sdake@redhat.com>
2012-05-21 16:48:34 -07:00
Chris Alfonso 1d706dd93e Copied the python-novaclient test code to avoid importing via python path 2012-04-30 10:39:51 -04:00
Chris Alfonso f10f5cf15b Adding the metadata.log file 2012-04-30 10:13:15 -04:00
Angus Salkeld 3802dfbba6 Add test artifacts to gitignore
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-27 00:32:15 +10:00
Chris Alfonso bdaed9b997 Added db setup and teardown with sqlite 2012-04-23 08:17:10 -04:00
Tomas Sedovic 6e9acd83ab Fix the test environment
Made sure that `run_tests.sh` works properly (it was failing on the heat/bin
directory) and that all tests pass and the generated logs are .gitignored.

Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
2012-04-18 11:29:48 +02:00
Chris Alfonso 5d8d645f4e Removed the *.log from the .gitignore so I can add the dummy files 2012-03-21 10:52:54 -04:00
Chris Alfonso f5e43a3ffc Updating template example github link 2012-03-20 09:50:09 -04:00
Angus Salkeld 41d167c560 Add setup.py and friends
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-14 09:25:54 +11:00
Angus Salkeld 3b9c41fb6c Initial commit (basics copied from glance)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-13 21:48:07 +11:00