From 9e16b0382dcd27dd52c5c23f13e5938856acc612 Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Tue, 28 Feb 2012 08:28:32 -0800 Subject: [PATCH] Make sure ESTestCase is in the MRO --- apps/stats/tests/test_views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/stats/tests/test_views.py b/apps/stats/tests/test_views.py index 430f816c4d..268c3cc732 100644 --- a/apps/stats/tests/test_views.py +++ b/apps/stats/tests/test_views.py @@ -13,7 +13,7 @@ from stats.models import DownloadCount, GlobalStat, UpdateCount from users.models import UserProfile -class StatsTest(object): +class StatsTest(amo.tests.ESTestCase): fixtures = ['stats/test_views.json', 'stats/test_models.json'] def setUp(self): @@ -61,7 +61,7 @@ class StatsTest(object): yield (view, args) -class ESStatsTest(StatsTest, amo.tests.ESTestCase): +class ESStatsTest(StatsTest): """Test class with some ES setup.""" def setUp(self):