Where is run_tests.sh?

asked 2014-10-28 05:35:34 -0500

teju gravatar image

I installed icehouse packages in Ubuntu 14.04 by following the below link:


All the dashboard applications in /usr/share/openstack-dashboard/openstack_dashboard/dashboards have tests.py.

But, how do I run these tests?

I don't see any file like run_tests.sh.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-28 06:24:27 -0500

rajiv-kumar gravatar image

you can run test using nosetests. It looks in the file having callables names started with test_AAA run them, where AAA can be any string . So, If you have a file test.py you can run tests as follow

nosetests test.py

It call all the functions defined in this file and starts with test_ as prefix.

edit flag offensive delete link more


Thanks for your reply. When I run nosetests test.py, I get the below error:


How to fix this?

teju gravatar imageteju ( 2014-10-29 00:02:54 -0500 )edit

I googled it and that's what i got. http://stackoverflow.com/questions/21764607/nosetests-giving-improperly-configured-error (http://stackoverflow.com/questions/21...)

rajiv-kumar gravatar imagerajiv-kumar ( 2014-10-29 00:39:49 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-10-28 05:35:34 -0500

Seen: 104 times

Last updated: Oct 28 '14