NameError with created in modeltests.get_or_create

Create issue
Issue #26 resolved
Johan Harjono created an issue

{{{

!python

File "/home/johan/workspace/fiji/build/tests/modeltests/get_or_create/models.py", line ?, in modeltests.get_or_create.models.test.API_TESTS Failed example: created Exception raised: Traceback (most recent call last): File "/usr/local/lib/python3.1/dist-packages/django/test/_doctest.py", line 1275, in run compileflags, 1), test.globs) File "<doctest modeltests.get_or_create.models.test__.API_TESTS[5]>", line 1, in <module> created NameError: name 'created' is not defined }}}

seems to be related to

{{{

!python

File "/home/johan/workspace/fiji/build/tests/modeltests/get_or_create/models.py", line ?, in modeltests.get_or_create.models.test.API_TESTS Failed example: created Expected: False Got: True }}}

Comments (2)

  1. Log in to comment