forked from orbit-oss/flask
Merge pull request #3704 from jackwardell/no-self-required
swapping self.assert_equal for assert
This commit is contained in:
commit
f31a8ce4bc
1 changed files with 1 additions and 1 deletions
|
|
@ -316,7 +316,7 @@ And then to use it::
|
||||||
with app.test_client() as c:
|
with app.test_client() as c:
|
||||||
resp = c.get('/users/me')
|
resp = c.get('/users/me')
|
||||||
data = json.loads(resp.data)
|
data = json.loads(resp.data)
|
||||||
self.assert_equal(data['username'], my_user.username)
|
assert data['username'] == my_user.username
|
||||||
|
|
||||||
|
|
||||||
Keeping the Context Around
|
Keeping the Context Around
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue