Open rapto opened 2 months ago
When calls to override_current_site_id are nested, no errors are raised until the deepest context __exit__. This patch detects this use and raises an error.
__exit__
Of course, we could implement nested calls. The test is prepared for that time.
When calls to override_current_site_id are nested, no errors are raised until the deepest context
__exit__
. This patch detects this use and raises an error.Of course, we could implement nested calls. The test is prepared for that time.