Commit Graph

12 Commits

Author SHA1 Message Date
Justin Shepherd
22c3e412cd Fixes bug lp:821296
Fixed exclude-dir to point to glance/tests/functional, now --unittests-only runs properly.

Change-Id: I237225fb49f1f4a284682768e888a2e03585cdf9
2011-08-05 09:49:03 -05:00
Justin Shepherd
486deeabd6 Implemented @utils.skip_test, @utils.skip_unless and @utils.skip_if functionality in glance/test/utils.py. Added glance/tests/unit/test_skip_examples.py which contains example skip case usages.
Fixed issue where ./run_tests.sh would not execute pep8. Fixed couple of pep8 violations in test_skip_examples.py

Change-Id: Id6eaa8768b663b4638fbca0e3bdf72b74969150a
2011-08-04 11:39:14 -05:00
Soren Hansen
327f7525c0 Move tests under the glance namespace. 2011-08-03 00:10:52 +02:00
Justin Shepherd
ae980abbb6 Installed nose-exclude, ./run_tests.sh --unittests-only add '--exclude-dir=tests/functional' to NOSEARGS 2011-07-30 00:12:44 -05:00
Brian Waldon
23a1457db9 adding run_tests.sh -p 2011-07-27 17:06:01 -04:00
Dan Prince
5e35359d45 Update tests and .bzrignore to use tests.sqlite instead of glance.sqlite. 2011-04-20 14:08:04 -04:00
Rick Harris
19d9a5d991 Including tests/ in pep8 2011-02-05 01:40:39 -06:00
Rick Harris
fe363898ce Adds --sql-connection option 2011-02-01 19:29:50 +00:00
jaypipes@gmail.com
9e4d7c8b0d Make run_tests.sh return failure when pep8 returns fail, and fix the pep8 error in /bin/glance-upload 2011-01-23 12:18:48 -05:00
jaypipes@gmail.com
96eb80f589 PEP8 fixes in /glance/store/__init__.py
Also makes run_tests.sh automatically call pep8.
Pulls in Nova's run_tests.py wrapper for prettying
up output from nosetests...
2011-01-19 14:22:41 -05:00
jaypipes@gmail.com
d59d1f1ca1 Implements Parallax API call to register a new image
* Adds unit test for Parallax API controller
* Adds stubouts for glance.parallax.db.sqlalchemy.api calls
  regarding images
* Adds --logging-clear-handlers arg to nosetests in run_tests.sh to
  prevent extra output in running tests when tests complete successfully
2010-10-12 14:01:12 -04:00
jaypipes@gmail.com
63fe51eab5 First round of cleaning up the unittests. Adds test suite runner, support for virtualenv setup and library dependencies, resolves issues with ImportErrors on cloudfiles, adds pymox/stubout support and splits the backend testing into distinct unittest cases. 2010-10-08 16:42:13 -04:00