def test_02_nature_supports_fail(self): test_urls = ["http://www.plosone.org/", "askjdfsakjdhfsa"] npg = NaturePlugin() for url in test_urls: assert not npg.supports({"url" : [url]})
def test_01_nature_supports_success(self): test_urls = ["http://www.nature.com/ncomms/journal/v1/n1/full/ncomms1007.html"] npg = NaturePlugin() for url in test_urls: assert npg.supports({"url" : [url]})