Commit Graph

3 Commits

Author SHA1 Message Date
Michael Johnson ef686c490c Fix manage.py for the default case
The manage.py included in designate-dashboard pointed to a settings file that does not exist. The tests (in tox.ini) already override these settings to use those under designatedashboard/tests/settings.py.
This patch updates manage.py to use the settings from horizon by default to reduce the confusion over which manage.py should be used to update the static files.

Change-Id: If2e0efb4240a72bedfbd09988707d4dabe9d5d1f
2022-06-15 20:04:51 +00:00
Ghanshyam Mann 95dbf83346 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

designate-dashboard is ready with python 3 and ok to drop the
python 2.7 support.

Also changing tox path to py3 to fix gate.
Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/

Co-Authored-By: Vishal Manchanda <manchandavishal143@gmail.com>
Change-Id: Id734dd4772ee4476ae1cfa8fb3c3e4b81109a113
2019-11-22 17:05:22 +00:00
Kiall Mac Innes 49d44524d9 Conform to Consistent Testing Interface
Make minimal changes necessary conform to, and pass,
the Consistent Testing Interface[1].

* tox -epy27
* tox -epep8
* tox -ecover
* tox -evenv python setup.py sdist
* tox -evenv python setup.py build_sphinx
* tox -evenv python setup.py extract_messages

The only exception to this is currently:

* tox -evenv python setup.py update_catalog

[1]: http://governance.openstack.org/reference/project-testing-interface.html

Change-Id: I50dd7fa9bbdd6a09b25ad0ee3785d37f2a32045f
2015-06-20 15:13:30 +01:00