MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / TO

Class TO

test/mitmproxy/test_optmanager.py:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14
15class TO(optmanager.OptManager):
16 def __init__(self):
17 super().__init__()
18 self.add_option("one", Optional[int], None, "help")
19 self.add_option("two", Optional[int], 2, "help")
20 self.add_option("bool", bool, False, "help")
21 self.add_option("required_int", int, 2, "help")
22
23
24class TD(optmanager.OptManager):

Callers 9

test_required_intFunction · 0.70
test_optionsFunction · 0.70
test_setterFunction · 0.70
test_togglerFunction · 0.70
test_subscribeFunction · 0.70
__init__Method · 0.70
test_rollbackFunction · 0.70
test_simpleFunction · 0.70
test_itemsFunction · 0.70

Calls

no outgoing calls

Tested by 9

test_required_intFunction · 0.56
test_optionsFunction · 0.56
test_setterFunction · 0.56
test_togglerFunction · 0.56
test_subscribeFunction · 0.56
__init__Method · 0.56
test_rollbackFunction · 0.56
test_simpleFunction · 0.56
test_itemsFunction · 0.56