Skip to content

tests fails #2

@bretonium

Description

@bretonium
 % python manage.py test multiforloop                                                   
Creating test database for alias 'default'...
.FFF...
======================================================================
FAIL: test_for_tag_multi_longest (multiforloop.tests.TagTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/breton/src/likocorp/env/src/django-multiforloop/multiforloop/tests.py", line 29, in test_for_tag_multi_longest
    self.tag_test(template, context, output)
  File "/home/breton/src/likocorp/env/src/django-multiforloop/multiforloop/tests.py", line 9, in tag_test
    self.assertEqual(t.render(c), output)
AssertionError: u'one:two/1:2/carrot:orange/apple:/' != u'one:two/1:2/carrot:orange/apple:INVALID/'

======================================================================
FAIL: test_for_tag_multi_longest_empty (multiforloop.tests.TagTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/breton/src/likocorp/env/src/django-multiforloop/multiforloop/tests.py", line 35, in test_for_tag_multi_longest_empty
    self.tag_test(template, context, output)
  File "/home/breton/src/likocorp/env/src/django-multiforloop/multiforloop/tests.py", line 9, in tag_test
    self.assertEqual(t.render(c), output)
AssertionError: u'one:/1:/carrot:/apple:/' != u'one:INVALID/1:INVALID/carrot:INVALID/apple:INVALID/'

======================================================================
FAIL: test_for_tag_multi_longest_null (multiforloop.tests.TagTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/breton/src/likocorp/env/src/django-multiforloop/multiforloop/tests.py", line 41, in test_for_tag_multi_longest_null
    self.tag_test(template, context, output)
  File "/home/breton/src/likocorp/env/src/django-multiforloop/multiforloop/tests.py", line 9, in tag_test
    self.assertEqual(t.render(c), output)
AssertionError: u'one:/1:/carrot:/apple:/' != u'one:INVALID/1:INVALID/carrot:INVALID/apple:INVALID/'

----------------------------------------------------------------------
Ran 7 tests in 0.042s

FAILED (failures=3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions