Fixed a PyQuery property access that should have been a method call.
- Legacy-Id: 15087
This commit is contained in:
parent
d599a4d28f
commit
fec59ad937
|
@ -1525,7 +1525,7 @@ Subject: test
|
||||||
r = self.client.post(url, files)
|
r = self.client.post(url, files)
|
||||||
if r.status_code != 302:
|
if r.status_code != 302:
|
||||||
q = PyQuery(r.content)
|
q = PyQuery(r.content)
|
||||||
print(q('div.has-error span.help-block div').text)
|
print(q('div.has-error span.help-block div').text())
|
||||||
|
|
||||||
self.assertEqual(r.status_code, 302)
|
self.assertEqual(r.status_code, 302)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue