Unit tests fail when run from symlinked directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Ana Krivokapić |
Bug Description
E.g, horizon git tree is located at /opt/stack/horizon, and there is a symlink in user's home directory which points to the horizon git tree: ~/horizon -> /opt/stack/horizon. Then cd ~/horizon followed by ./run_tests.sh fails:
FAIL: test_customize_
-------
Traceback (most recent call last):
File "/home/
self.
AssertionError: 'Cats' != 'WildCats'
"'Cats' != 'WildCats'" = '%s != %s' % (safe_repr('Cats'), safe_repr(
"'Cats' != 'WildCats'" = self._formatMes
>> raise self.failureExc
=======
FAIL: test_customized
-------
Traceback (most recent call last):
File "/home/
self.
AssertionError: 200 != 302
'200 != 302' = '%s != %s' % (safe_repr(200), safe_repr(302))
'200 != 302' = self._formatMes
>> raise self.failureExc
Changed in horizon: | |
assignee: | nobody → Ana Krivokapić (akrivoka) |
Changed in horizon: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-2 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/65000
Review: https:/