'SqlMap\'s testenv is a rather strange test application since it doesn\'t
have an index.html that defines the HTML forms to talk to the scripts
which expect a POST request, so don\'t worry too much if those post_*
are not found.'

def test_found_sqli_in_testenv(self):

    expected_path_param = {(u'get_str_like_par2.php', u'id'), (u'get_dstr.php', u'id'), (u'get_int_orderby.php', u'id'), (u'get_str_brackets.php', u'id'), (u'get_str.php', u'id'), (u'get_int_inline.php', u'id'), (u'get_str_like_par.php', u'id'), (u'get_int.php', u'id'), (u'get_int_rand.php', u'id'), (u'get_int_having.php', u'id'), (u'get_int_nolimit.php', u'id'), (u'get_str_union.php', u'id'), (u'get_str_like_par3.php', u'id'), (u'get_int_user.php', u'id'), (u'get_int_groupby.php', u'id'), (u'get_int_blob.php', u'id'), (u'get_dstr_like_par.php', u'id'), (u'get_str_like.php', u'id'), (u'get_dstr_like_par2.php', u'id'), (u'get_int_filtered.php', u'id'), (u'get_brackets.php', u'id'), (u'get_int_limit.php', u'id'), (u'get_int_limit_second.php', u'id')}
    ok_to_miss = {u'get_int_noerror.php', u'get_str_noout.php', u'get_int_nooutput.php', u'get_str2.php', u'get_str_or.php', u'get_int_reflective.php', u'get_int_partialunion.php', u'get_int_benchmark.php', u'get_int_substr.php', u'get_int_redirected.php', u'get_int_international.php', u'get_int_img.php', u'get_int_redirected_true.php', u'csrf/', u'csrf', u'iis', u'iis/', u'basic', u'digest', u'', u'csrf/post.php'}
    skip_startwith = {'post_', 'header_', 'referer_', 'cookie_'}
    kb_addresses = {('sqli', 'sqli')}
    self._scan_assert(self.config, expected_path_param, ok_to_miss, kb_addresses, skip_startwith)
