Commit Graph

4 Commits

Author SHA1 Message Date
Takashi Kajinami bcd67420ce Fix python shebang
The current shebang requires /usr/bin/python which is not available in
Ubuntu Jammy by default.

This also removes unnecessary shebangs.

Change-Id: I046542e43d993ba201cc035554b4dcc4d364ed0a
2023-10-17 16:04:49 +00:00
Jeremy Liu cca54ba3e2 Correct the actual path for setting DJANGO_SETTINGS_MODULE
The true path should be "manila_ui.tests.settings" while
"manila_ui.test.settings" is given.

Change-Id: I2510174b6790aa6defaed5b8bf804875eb888ebc
Closes-Bug: #1668990
2017-03-01 22:00:31 +08:00
Gary W. Smith 22cfeb0ec6 Fix pep8 violations via run_tests.sh -p 2015-04-20 15:12:46 -07:00
Gary W. Smith 436d6b2cac Enable unit tests to run standalone
Enable unit tests to be run standalane; that is, without having a
local copy of the horizon source.  This is primarly intended for use in
automated builds.  The approach, taken from tuskar-ui, is to add an
entry in test-requirements.txt that refers to a source tarball of
horizon which is expanded into the virtual environment, permitting
references to horizon and openstack_dashboard to resolve correctly.

Add additional tooling to support running tests and building virtual
environments to mirror what is done in horizon.
2015-04-20 15:08:53 -07:00