Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Corrected tests from [10784]; instead of retrieving two comments, it …

…was retrieving one comment twice.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bcb0d124b409c68ede62f82421855a29ea5b8a39 1 parent d246401
@ubernostrum ubernostrum authored
4 tests/regressiontests/comment_tests/tests/
@@ -28,7 +28,7 @@ def createSomeComments(self):
# emit the custom signals moderation listens for.
e = Entry.objects.get(pk=1)
data = self.getValidData(e)
-"/post/", data, REMOTE_ADDR="")
+"/post/", data, REMOTE_ADDR="")
# We explicitly do a try/except to get the comment we've just
@@ -39,6 +39,8 @@ def createSomeComments(self):
except IndexError:
c1 = None
+"/post/", data, REMOTE_ADDR="")
c2 = Comment.objects.all()[0]
except IndexError:
Please sign in to comment.
Something went wrong with that request. Please try again.