From 25f5e3a85571fb5b3a28b44a30d0eb7fbb6e026d Mon Sep 17 00:00:00 2001 From: Dolph Mathews Date: Fri, 5 Aug 2011 21:45:09 -0500 Subject: Gets Keystone a bit more inline with the way that other OpenStack projects run tests. Basically, adds the standard run_tests.sh script, modifies the run_tests.py script to do the following: a) Correctly create a test configuration file that is passed to keystone-manage and keystone. This allows you to test keystone on a server that already has keystone running on it b) Some DRY cleanup around the removal of database files that get created in the course of testing c) Creates a virtualenv automatically with the -V (-f) flag, which reads the tools/pip-requires file and constructs a virtualenv with all dependencies installed Change-Id: I8defa5956a7f23258936d04a11655d36a71226ec --- setup.py | 1 + 1 file changed, 1 insertion(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 941b3c09..0f6ec182 100755 --- a/setup.py +++ b/setup.py @@ -54,6 +54,7 @@ setup( zip_safe=False, cmdclass=cmdclass, install_requires=['setuptools'], + test_suite='nose.collector', entry_points={ 'paste.app_factory': ['main=identity:app_factory'], 'paste.filter_factory': [ -- cgit