def test_requests_delete_method_raises_exception(self): with self.assertRaises(InternetAccessBlockedException): make_request('delete', data={})
def test_block_socket_access(self): with self.assertRaises(InternetAccessBlockedException): make_request('get')
def test_requests_get_method_raises_exception(self): with self.assertRaises(InternetAccessBlockedException): make_request('get')