eugeniy / pytest-tornado

A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications.
Apache License 2.0
121 stars 34 forks source link

pytest.mark.parametrize is not working as expected on gen_test decorated tests #7

Closed eugeniy closed 9 years ago

eugeniy commented 9 years ago

@pytest.mark.parametrize('method', ['get', 'post', 'put', 'delete']) def test_supported_methods(http_client, base_url, method): yield http_client.fetch(base_url)