def get_wasc_urls(self): """ :note: Call has_db_details before calling this, or you'll get exceptions """ for wasc_id in self.get_wasc_ids(): yield DBVuln.get_wasc_url(wasc_id)
def test_get_wasc_url(self): dbv = DBVuln(**self.DEFAULT_KWARGS) self.assertEqual( dbv.get_wasc_url(3), 'http://projects.webappsec.org/w/page/13246946/Integer%20Overflows' )
def test_get_wasc_url(self): dbv = DBVuln(**self.DEFAULT_KWARGS) self.assertEqual(dbv.get_wasc_url(3), 'http://projects.webappsec.org/w/page/13246946/Integer%20Overflows')