GUI editor to tame mod_security rules

⌈⌋ ⎇ branch:  modseccfg


Artifact [8333b20ab9]

Artifact 8333b20ab9ac387036814ea36905d7b435c79ba869813b87e8fce0231f9ea68a:

  • File test/secdirectives.py — part of check-in [cb3a619fe0] at 2020-12-01 20:49:54 on branch trunk — publish data test (mostly vhost/secrule extraction) (user: mario size: 215)

#t:t
#d:lots of SecEngine directives

import pytest, util
from modseccfg import vhosts

@util.io
def secdirectives(inp, out):
    src = util.inp_read(inp)
    vh = vhosts.vhost(inp, src)
    util.out_test(vh, out)