akoumjian/django-conduit — pull request #24 by blturner (2014-09-27 23:30:58+00:00)
Title: fix test failure

A test was failing because a test in `test_modelresource_conduit_formats` was appending to the default urls patterns instead of overriding them. [The intention of the test was to temporarily assign new url patterns while running and then reassign the original url patterns.](https://github.com/akoumjian/django-conduit/blob/master/conduit/test/test_modelresource_conduit_formats.py#L73)

```
FAIL: test_add_resource_uri (conduit.test.test_modelresource_methods.MethodTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bturner/Projects/django-conduit/conduit/test/test_modelresource_methods.py", line 362, in test_add_resource_uri
self.assertEqual(data['resource_uri'], '/api/{0}/bar/{1}/'.format(self.resource.Meta.api.name, bar.pk))
AssertionError: '/api_as_context/v1/bar/1/' != '/api/v1/bar/1/'
```