Lemmons / pytest-raises

An implementation of pytest.raises as a pytest.mark fixture
MIT License
19 stars 8 forks source link

Check Message info #5

Closed tt-vbalasubramanian closed 6 years ago

tt-vbalasubramanian commented 7 years ago

I really like this module where i dont have to write two tests one for positive and other for negative. But i would like to test the message of the Exception as well. Do you think is it possible? Can you help me with that?

Lemmons commented 7 years ago

This is certainly possible. You are welcome to submit a PR to add this functionality (it should be pretty easy), or I can get to it when I have some time.

Midnighter commented 6 years ago

I'd also love to have this feature. Do you think you will have time in the near future? If not, can you give a hint where to best add this?

Lemmons commented 6 years ago

This feature has been added and is part of 0.7