diff options
| author | Tim Graham <timograham@gmail.com> | 2016-12-14 14:41:39 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-12-14 14:41:39 -0500 |
| commit | 0469657a4c9cc9032d62a41c339d294394c30f8d (patch) | |
| tree | 8e818152f2518c44411661ae9a2c91f16ac6cb97 /dashboard | |
| parent | 46766175f24f440bc23d2e32340eb607c375e04c (diff) | |
Switched to Python 3 style super().
Diffstat (limited to 'dashboard')
| -rw-r--r-- | dashboard/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dashboard/tests.py b/dashboard/tests.py index f0b37916..de2388c3 100644 --- a/dashboard/tests.py +++ b/dashboard/tests.py @@ -68,7 +68,7 @@ class TracTicketMetricTestCase(TestCase, MetricMixin): fixtures = ['dashboard_test_data'] def setUp(self): - super(TracTicketMetricTestCase, self).setUp() + super().setUp() self.instance = TracTicketMetric.objects.last() @mock.patch('xmlrpc.client.ServerProxy') @@ -83,7 +83,7 @@ class RSSFeedMetricTestCase(TestCase, MetricMixin): fixtures_path = os.path.join(os.path.dirname(__file__), 'fixtures', 'rss_feed_metric.xml') def setUp(self): - super(RSSFeedMetricTestCase, self).setUp() + super().setUp() self.instance = RSSFeedMetric.objects.last() @requests_mock.mock() @@ -100,7 +100,7 @@ class GithubItemCountMetricTestCase(TestCase, MetricMixin): api_url2 = 'https://api.github.com/repos/django/django/pulls?state=closed&per_page=100&page=2' def setUp(self): - super(GithubItemCountMetricTestCase, self).setUp() + super().setUp() self.instance = GithubItemCountMetric.objects.last() @requests_mock.mock() |
