TestInABox / stackInABox

Testing framework for RESTful APIs
Apache License 2.0
8 stars 5 forks source link

HTTPretty Py3 Support #80

Closed BenjamenMeyer closed 9 months ago

BenjamenMeyer commented 5 years ago

The current unit tests support HTTPretty 0.8.6 without any issue; however, 0.8.6 only supports Python2. For Python3 support HTTPretty 0.9.7 is required, but this breaks the unit tests.

For now, HTTPretty on Py3 is officially unsupported here. That's not to say it won't work just that it has been too big an issue to get working with the time available to do so as there seems to be some kind of regex related error internal to HTTPretty 0.9.7 related to StackInABox's callback usage.

Help to fix this is of course welcome and appreciated.

BenjamenMeyer commented 9 months ago

This seems to be fixed in httpretty now, so once the dependencies can get fully updated per #87 then this can be closed.

BenjamenMeyer commented 9 months ago

Latest httpretty is now used by the tests per #89