def METHOD_NAME(self):
    resp = self.client.post(
        reverse('view_file_via_shared_dir', args=[self.fs.token]) + '?p=' + self.sub_file, {
            'password': '1234567'
        }
    )
    self.assertEqual(200, resp.status_code)
    self.assertTemplateUsed(resp, 'share_access_validation.html')
    self.assertContains(resp, 'Please enter a correct password')