From 3e9f06492b1d53edf822fa9bdacd06e2fbb146d1 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Fri, 7 Sep 2012 08:13:35 -0500 Subject: setup.py: Integrate tests with setuptools This allows you to run the testsuite by simply doing a `python setup.py test` from the project directory. Signed-off-by: Sol Jerome --- setup.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 6f8ac98cf..0604159f9 100755 --- a/setup.py +++ b/setup.py @@ -134,6 +134,8 @@ setup(cmdclass=cmdclass, description="Bcfg2 Server", author="Narayan Desai", author_email="desai@mcs.anl.gov", + # nosetests + test_suite = 'nose.collector', packages=["Bcfg2", "Bcfg2.Client", "Bcfg2.Client.Tools", -- cgit v1.2.3-1-g7c22