Make sure tests use ALLOW_INTERNET set to False, and also make sure that internet_on() doesn't raise any exceptions.