Closed Bug 698904 Opened 13 years ago Closed 13 years ago

[tinder] test_showlog fails to due to presence of string 'json'

Categories

(Webtools Graveyard :: Elmo, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: peterbe, Unassigned)

Details

======================================================================
FAIL: Test that showlog shows headers, stdout, stderr, with the right CSS classes,
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/peterbe/dev/MOZILLA/ELMO/elmo/../elmo/apps/tinder/tests.py", line 323, in test_showlog
    ok_('json' not in content)
  File "/Users/peterbe/dev/MOZILLA/ELMO/elmo/vendor/lib/python/nose/tools.py", line 25, in ok_
    assert expr, msg
AssertionError


The offending line is this::

 ok_('json' not in content)

The reason that is failing is because of the base.html references the 'user.json' URL I think.
Upon closer inspect I found this to be dependent on the current base.html which is much different in the branch I'm currently working on. In that branch I'm going to change the test test_showlog to be more robust.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.