Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

Destaddr implementation and minor documentation fix #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CRS_Tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
import os
import ConfigParser

def test_crs(ruleset, test, logchecker_obj):
def test_crs(ruleset, test, logchecker_obj, destaddr):
runner = testrunner.TestRunner()
for stage in test.stages:
if destaddr is not None:
stage.input.dest_addr = destaddr
runner.run_stage(stage, logchecker_obj)

class FooLogChecker(logchecker.LogChecker):
Expand Down
4 changes: 3 additions & 1 deletion CRS_Tests_Journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
import os
import ConfigParser

def test_crs(ruleset, test, logchecker_obj, with_journal, tablename):
def test_crs(ruleset, test, logchecker_obj, with_journal, tablename, destaddr):
runner = testrunner.TestRunner()
for stage in test.stages:
if destaddr is not None:
stage.input.dest_addr = destaddr
runner.run_stage_with_journal(test.ruleset_meta['name'], test, with_journal, tablename, logchecker_obj)

class FooLogChecker(logchecker.LogChecker):
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
=====================
OWASP-CRS-regressions
=====================
# OWASP-CRS-regressions

Introduction
============
Expand Down