Debian Codegraph @

testenv/conf/response.py

raw
1 from conf import rule
2
3 """ Rule: Response
4 When this rule is set against a certain file, the server will unconditionally
5 respond to any request for the said file with the provided response code. """
6
7
8 @rule()
9 class Response:
10 def __init__(self, ret_code):
11 self.response_code = ret_code