def test_correct_url(self): string = stwjavascript() self.assertTrue("http://www.shrinktheweb.com/scripts/pagepix.js" in string)
def test_is_script(self): string = stwjavascript() self.assertTrue("<script " in string and "</script>" in string)