1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Renamed the fixtures used by the aggregation tests so they're only loaded by the tests that use them. Refs #17275.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Aymeric Augustin
2011-11-27 10:31:26 +00:00
parent e4919f64b0
commit 02bc523b89
4 changed files with 3 additions and 1 deletions

View File

@@ -13,6 +13,8 @@ from .models import Author, Book, Publisher, Clues, Entries, HardbackBook
class AggregationTests(TestCase):
fixtures = ["aggregation_regress.json"]
def assertObjectAttrs(self, obj, **kwargs):
for attr, value in kwargs.iteritems():
self.assertEqual(getattr(obj, attr), value)