예제 #1
0
 def test_export_with_dc(self):
     fr = FuzzableRequest(URL("http://www.w3af.com/"))
     d = DataContainer()
     d['a'] = ['1',]
     fr.set_dc(d)
     self.assertEqual(fr.export(),
                      'GET,http://www.w3af.com/?a=1,')
예제 #2
0
 def test_export_with_dc(self):
     fr = FuzzableRequest(URL("http://www.w3af.com/"))
     d = DataContainer()
     d['a'] = [
         '1',
     ]
     fr.set_dc(d)
     self.assertEqual(fr.export(), 'GET,http://www.w3af.com/?a=1,')
예제 #3
0
 def test_export_without_dc(self):
     fr = FuzzableRequest(URL("http://www.w3af.com/"))
     self.assertEqual(fr.export(), 'GET,http://www.w3af.com/,')
예제 #4
0
 def test_export_without_dc(self):
     fr = FuzzableRequest(URL("http://www.w3af.com/"))
     self.assertEqual(fr.export(),
                      'GET,http://www.w3af.com/,')