Commit f78e3a22 by Chris Dodge

fix fat finger string formatting

parent 345d2af5
...@@ -53,7 +53,7 @@ class TestJumpTo(TestCase): ...@@ -53,7 +53,7 @@ class TestJumpTo(TestCase):
def test_jumpto_id_invalid_location(self): def test_jumpto_id_invalid_location(self):
location = Location('i4x', 'edX', 'toy', 'NoSuchPlace', None) location = Location('i4x', 'edX', 'toy', 'NoSuchPlace', None)
jumpto_url = '{0}/{1}/jump_to_id/{2)'.format('/courses', self.course_name, location.name) jumpto_url = '{0}/{1}/jump_to_id/{2}'.format('/courses', self.course_name, location.name)
response = self.client.get(jumpto_url) response = self.client.get(jumpto_url)
self.assertEqual(response.status_code, 404) self.assertEqual(response.status_code, 404)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment