vitalk/pytest-flask — pull request #10 by vitalk (2014-10-27 13:17:05+00:00)
Title: Better unittest integration

Attach `client` fixture to test class for easiest unittest integration:

```python
@pytest.mark.usefixtures('client_class')
class TestView:

def login(self, email, password):
credentials = {'email': email, 'password': password}
self.client.post(url_for('login'), data=credentials)
```