Skip to content
Snippets Groups Projects
Commit 5b89a6da authored by Damian Johnson's avatar Damian Johnson
Browse files

Check version when testing ability to pass a config in via the stdin

parent d270e36d
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,7 @@ easily parsed and compared, for instance...
**TORRC_CONTROL_SOCKET** 'ControlSocket <path>' config option
**TORRC_PORT_FORWARDING** 'PortForwarding' config option
**TORRC_DISABLE_DEBUGGER_ATTACHMENT** 'DisableDebuggerAttachment' config option
**TORRC_VIA_STDIN** Allow torrc options via 'tor -f -' (:trac:`13865`)
===================================== ===========
"""
......@@ -363,4 +364,5 @@ Requirement = stem.util.enum.Enum(
('TORRC_CONTROL_SOCKET', Version('0.2.0.30')),
('TORRC_PORT_FORWARDING', Version('0.2.3.1-alpha')),
('TORRC_DISABLE_DEBUGGER_ATTACHMENT', Version('0.2.3.9')),
('TORRC_VIA_STDIN', Version('0.2.6.3-alpha')),
)
......@@ -229,6 +229,7 @@ class TestProcess(unittest.TestCase):
self.assertEqual(expected, result)
@require_version(stem.version.Requirement.TORRC_VIA_STDIN)
def test_torrc_arguments_via_stdin(self):
"""
Pass configuration options via stdin.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment