in py.test awesomeness style these assertions would rely on bare asserts:

    assert self.response['username'] == 'admin'