owtf.api package

Submodules

owtf.api.main module

owtf.api.reporter module

owtf.api.routes module

owtf.api.utils module

owtf.api.utils

class owtf.api.utils.VersionMatches(api_version)[source]

Bases: tornado.routing.Matcher

Matches path by version regex.

match(request)[source]

Module contents

owtf.api.api_assert(condition, *args, **kwargs)[source]

Assertion to fail with if not condition Asserts that condition is True, else raises an APIError with the provided args and kwargs :type condition: bool