cdent / wsgi-intercept

Intercept socket connection to wsgi applications for testing
MIT License
42 stars 21 forks source link

Interceptor.uninstall_interceptor turns off intercept for all intercepts using the same module #53

Closed cdent closed 6 years ago

cdent commented 6 years ago

If intercepts are created for more than one wsgi application in the same process, using the same interceptor module, uninstalling one of them will turn off intercept for the others because the intercept module's socket class overrides will be removed. This is not desirable.