diff options
| author | Sean Brant | 2013-03-10 23:22:05 -0500 |
|---|---|---|
| committer | Sean Brant | 2013-03-10 23:22:05 -0500 |
| commit | 6be5ae40c427670ab6260195568015939510241c (patch) | |
| tree | 7d0aed1d5248303d21f472223670e98a71dd2687 /tests | |
| parent | 5e849e4fec78a8092e07a7abd43e1fe77ca872bc (diff) | |
| download | pykss-6be5ae40c427670ab6260195568015939510241c.tar.bz2 | |
django 1.4 fix
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_contrib/test_django/test_views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_contrib/test_django/test_views.py b/tests/test_contrib/test_django/test_views.py index 1ba1baf..d0a4a92 100644 --- a/tests/test_contrib/test_django/test_views.py +++ b/tests/test_contrib/test_django/test_views.py @@ -3,7 +3,7 @@ import os from django.conf import settings from django.test import TestCase -from pykss.contrib.django.views import StyleguideMixin +from pykss.contrib.django.views import StyleguideMixin, StyleguideView class StyleguideMixinTestCase(TestCase): @@ -15,4 +15,4 @@ class StyleguideMixinTestCase(TestCase): self.assertEqual(styleguide.section('2.1.1').description, 'Your standard form button.') def test_get_context_data_adds_sytleguide_to_context(self): - self.assertIn('styleguide', StyleguideMixin().get_context_data()) + self.assertIn('styleguide', StyleguideView().get_context_data()) |
