]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
tests: Remove useless todo
authorStephen Finucane <stephen@that.guru>
Mon, 10 Sep 2018 23:11:46 +0000 (17:11 -0600)
committerStephen Finucane <stephen@that.guru>
Mon, 10 Sep 2018 23:12:45 +0000 (17:12 -0600)
I'm not sure why I included this in day one: we _want_ to use the
context manager like this.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/tests/test_about.py

index 956d0324aaef0d3914f902d01fb1c43d588b64cf..ba8fd982d058598a4bf09d34e98cec884d92a652 100644 (file)
@@ -41,9 +41,6 @@ class AboutViewTest(TestCase):
             self.assertTrue(response.context['enabled_apis']['xmlrpc'])
 
     def test_rest(self):
-        # TODO(stephenfin): There appears to be a bug in Django 1.10.x under
-        # Python 3.5, meaning we can't use 'override_settings' here or we cause
-        # the REST API tests to fail. We should investigate this.
         with self.settings(ENABLE_REST_API=False):
             response = self.client.get(reverse('about'))
             self.assertFalse(response.context['enabled_apis']['rest'])