yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #48313
[Bug 1559276] Re: Doc page not displaying command-line with appropriate styling.
Reviewed: https://review.openstack.org/294785
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=48193a517c7dab39088714ecf5b9d40c8b5339e4
Submitter: Jenkins
Branch: master
commit 48193a517c7dab39088714ecf5b9d40c8b5339e4
Author: Eddie Ramirez <eddie.ramirez@xxxxxxxxx>
Date: Fri Mar 18 19:53:11 2016 +0000
Doc page not displaying command-line with appropriate styling
The page locate at http://docs.openstack.org/developer/horizon/testing.html
is not displaying commands with appropiate styling, for instance there are
some command options using en dash instead of double hyphens.
This patch fixes the way these lines should appear in the browser: using
mono-spaced font, enclosed in a gray box and with double hyphens instead of
en dashes. This way we prevent users seeing errors when copy-pasting the
instructions.
Change-Id: Id76675cd6510d0491cdc08d9cc845c0fc66ab2c6
Closes-bug: #1559276
** Changed in: horizon
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1559276
Title:
Doc page not displaying command-line with appropriate styling.
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
This page http://docs.openstack.org/developer/horizon/testing.html
contains instructions that tells the user how to start running tests
for the Horizon project.
I've detected two things wrong:
1. There are some commands that are not properly formatted for visual purposes, e.g. mono-space font, enclosed in a box.
2. Single hyphens are replaced by en dashes,
$ ./run_tests.sh –with-selenium –selenium-headless should be $ ./run_tests.sh --with-selenium --selenium-headless
*See image attached to this bug report*
If the user tries to execute the same commands, he/she will see the
following error:
$./run_tests.sh –with-selenium –selenium-headless
Checking environment.
Environment is up to date.
Traceback (most recent call last):
File "/opt/stack/horizon/manage.py", line 23, in <module>
execute_from_command_line(sys.argv)
File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
utility.execute()
File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 303, in execute
settings.INSTALLED_APPS
File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/django/conf/__init__.py", line 48, in __getattr__
self._setup(name)
File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/django/conf/__init__.py", line 44, in _setup
self._wrapped = Settings(settings_module)
File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/django/conf/__init__.py", line 92, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named –with-selenium
That is because there's no option named –with-selenium but --with-
selenium.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1559276/+subscriptions
References