def setUp(self): config = get_collector_config('HttpCollector', { 'req_vhost': 'www.my_server.com', 'req_url': ['http://www.my_server.com/'] }) self.collector = HttpCollector(config, None)
def setUp(self): config = get_collector_config( 'HttpCollector', { 'req_vhost': 'www.my_server.com', 'req_urls_and_teststrings': ['http://www.my_server.com/', 'keep out'] }) self.collector = HttpCollector(config, None)