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

RESOLVED INVALID

Status

RESOLVED INVALID
7 years ago
7 years ago

People

(Reporter: peterbe, Unassigned)

Tracking

x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
======================================================================
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.
(Reporter)

Comment 1

7 years ago
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
Last Resolved: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.