CFMTech / pytest-monitor

Pytest plugin for analyzing resource usage during test sessions
MIT License
173 stars 16 forks source link

PM #19 - Use http.HTTPStatus for interacting with a remote server #20

Closed js-dieu closed 4 years ago

js-dieu commented 4 years ago

Description

Interaction with a remote monitoring server was done with hard coded values of http codes. To ease the maintenance and for code clarity, the use of http.HTTPStatus has been preferred.

Fixes #19

Type of change

Please delete options that are not relevant.

Checklist:

If an option is not relevant to your PR, do not delete it but use ~strikethrough formating on it~. This helps keeping track of the entire list.

Do not forget to @ the people that needs to do the review

Thanks for contributing! :pray: