aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pygments_api/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pygments_api/tests.py')
-rw-r--r--examples/pygments_api/tests.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/pygments_api/tests.py b/examples/pygments_api/tests.py
index 24726647..b728c3c2 100644
--- a/examples/pygments_api/tests.py
+++ b/examples/pygments_api/tests.py
@@ -14,13 +14,13 @@ class TestPygmentsExample(TestCase):
self.factory = RequestFactory()
self.temp_dir = tempfile.mkdtemp()
views.HIGHLIGHTED_CODE_DIR = self.temp_dir
-
+
def tearDown(self):
try:
shutil.rmtree(self.temp_dir)
except Exception:
pass
-
+
def test_get_to_root(self):
'''Just do a get on the base url'''
request = self.factory.get('/pygments')
@@ -44,6 +44,3 @@ class TestPygmentsExample(TestCase):
response = view(request)
response_locations = json.loads(response.content)
self.assertEquals(locations, response_locations)
-
-
-