1
0
Fork 0

Fixes template paths in views

This commit is contained in:
Mouse Reeve 2021-01-29 10:29:21 -08:00
parent b53ef73faf
commit cc5fedb1d1
4 changed files with 6 additions and 6 deletions

View file

@ -32,7 +32,7 @@ class BlockViews(TestCase):
request.user = self.local_user
result = view(request)
self.assertIsInstance(result, TemplateResponse)
self.assertEqual(result.template_name, 'blocks.html')
self.assertEqual(result.template_name, 'preferences/blocks.html')
self.assertEqual(result.status_code, 200)
def test_block_post(self):