Permalink
Browse files

Fixed #6103 -- Splitted tests in model_forms tests

  • Loading branch information...
1 parent 5a976b4 commit 72cfbdc10ab53ee9a3a9f253f38e9919728c0813 @claudep claudep committed Mar 14, 2014
Showing with 355 additions and 394 deletions.
  1. +2 −2 tests/model_forms/models.py
  2. +353 −392 tests/model_forms/tests.py
@@ -71,10 +71,10 @@ class Article(models.Model):
categories = models.ManyToManyField(Category, blank=True)
status = models.PositiveIntegerField(choices=ARTICLE_STATUS, blank=True, null=True)
- def save(self):
+ def save(self, *args, **kwargs):
if not self.id:
self.created = datetime.date.today()
- return super(Article, self).save()
+ return super(Article, self).save(*args, **kwargs)
def __str__(self):
return self.headline
Oops, something went wrong.

0 comments on commit 72cfbdc

Please sign in to comment.