def METHOD_NAME(self):
    resp = self.client.post(
        reverse('view_shared_dir', args=[self.fs.token]), {
            'password': '12345678'
        }
    )
    self.assertEqual(200, resp.status_code)
    self.assertTemplateUsed(resp, 'view_shared_dir_react.html')
    resp = self.client.get(
        reverse('view_shared_dir', args=[self.fs.token]) + '?p=' + self.sub_dir
    )
    self.assertEqual(200, resp.status_code)
    self.assertTemplateNotUsed(resp, 'share_access_validation.html')
    self.assertTemplateUsed(resp, 'view_shared_dir_react.html')