Bio::Root::Test: fix test_network use of Test::RequiresInternet
commit3b0d27a18a478fbc978fb84034e5f35d5e274b83
authorCarnë Draug <carandraug+dev@gmail.com>
Tue, 5 Feb 2019 14:49:40 +0000 (5 14:49 +0000)
committerCarnë Draug <carandraug+dev@gmail.com>
Tue, 5 Feb 2019 14:49:40 +0000 (5 14:49 +0000)
tree9e2238187169fbe499b3b016cd0a6fdede554427
parent573e117fd074f5cc6664a2ead7e7b43d08cbd9e5
Bio::Root::Test: fix test_network use of Test::RequiresInternet

The function was requiring Test::RequiresInternet instead of importing
but seems that it was actually never did anything.  Monkey patch its
skip_all method so it uses die and then we can trap it.  Otherwise,
importing the module would call exit.
lib/Bio/Root/Test.pm