Closed fornellas-udemy closed 3 months ago
For cases where we're running read-only tests, it is useful to have some extra guardrails to enforce that.
This PR introduces the BlockRealTransportUnsafeMethods option, which, when set to true, prevents any unsafe method from reaching RealTransport.
BlockRealTransportUnsafeMethods
RealTransport
PS: having a new tag on merge like on #99 would be appreciated :-D
Thanks!
For cases where we're running read-only tests, it is useful to have some extra guardrails to enforce that.
This PR introduces the
BlockRealTransportUnsafeMethods
option, which, when set to true, prevents any unsafe method from reachingRealTransport
.PS: having a new tag on merge like on #99 would be appreciated :-D