Python: block network connections for testing purposes? Python: block network connections for testing purposes? python python