Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Renamed the fixtures used by the aggregation tests so they're only lo…

…aded by the tests that use them. Refs #17275.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 02bc523b89ae6fb37c26ce8d6424cb84751ad3ac 1 parent e4919f6
@aaugustin aaugustin authored
View
0  ...ts/aggregation/fixtures/initial_data.json → ...sts/aggregation/fixtures/aggregation.json
File renamed without changes
View
2  tests/modeltests/aggregation/tests.py
@@ -10,7 +10,7 @@
class BaseAggregateTestCase(TestCase):
- fixtures = ["initial_data.json"]
+ fixtures = ["aggregation.json"]
def test_empty_aggregate(self):
self.assertEqual(Author.objects.all().aggregate(), {})
View
0  ...gation_regress/fixtures/initial_data.json → ...regress/fixtures/aggregation_regress.json
File renamed without changes
View
2  tests/regressiontests/aggregation_regress/tests.py
@@ -13,6 +13,8 @@
class AggregationTests(TestCase):
+ fixtures = ["aggregation_regress.json"]
+
def assertObjectAttrs(self, obj, **kwargs):
for attr, value in kwargs.iteritems():
self.assertEqual(getattr(obj, attr), value)
Please sign in to comment.
Something went wrong with that request. Please try again.