aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSean Brant2013-03-10 23:01:32 -0500
committerSean Brant2013-03-10 23:01:32 -0500
commit5e849e4fec78a8092e07a7abd43e1fe77ca872bc (patch)
tree3868c2ccc693fef5621c3032b5e2d20cac8050ca /tests
parenta5d2c1a96e810dd2f0316269929a7bc8395add53 (diff)
downloadpykss-5e849e4fec78a8092e07a7abd43e1fe77ca872bc.tar.bz2
normalizes the casing on Styleguide
Diffstat (limited to 'tests')
-rw-r--r--tests/test_contrib/test_django/test_templatetags/test_pykss.py2
-rw-r--r--tests/test_contrib/test_django/test_views.py8
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_contrib/test_django/test_templatetags/test_pykss.py b/tests/test_contrib/test_django/test_templatetags/test_pykss.py
index 1f0d967..dc48e41 100644
--- a/tests/test_contrib/test_django/test_templatetags/test_pykss.py
+++ b/tests/test_contrib/test_django/test_templatetags/test_pykss.py
@@ -11,7 +11,7 @@ from pykss.exceptions import SectionDoesNotExist
from pykss.parser import Parser
-class StyleGuideBlockTestCase(TestCase):
+class StyleguideBlockTestCase(TestCase):
def setUp(self):
css = os.path.join(settings.PROJECT_ROOT, 'tests', 'fixtures', 'css')
diff --git a/tests/test_contrib/test_django/test_views.py b/tests/test_contrib/test_django/test_views.py
index b47ce20..1ba1baf 100644
--- a/tests/test_contrib/test_django/test_views.py
+++ b/tests/test_contrib/test_django/test_views.py
@@ -3,16 +3,16 @@ 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
-class StyleGuideMixinTestCase(TestCase):
+class StyleguideMixinTestCase(TestCase):
def test_get_styleguide_get_dirs_from_settings(self):
css = os.path.join(settings.PROJECT_ROOT, 'tests', 'fixtures', 'css')
with self.settings(PYKSS_DIRS=[css]):
- styleguide = StyleGuideMixin().get_styleguide()
+ styleguide = StyleguideMixin().get_styleguide()
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', StyleguideMixin().get_context_data())