conductor(checkpoint): Checkpoint end of Phase 2
This commit is contained in:
@@ -12,7 +12,8 @@ def test_arg_parsing_default():
|
||||
|
||||
def test_arg_parsing_custom():
|
||||
"""Test that custom arguments are parsed correctly."""
|
||||
with patch.object(sys, 'argv', ['cli.py', '--consul-url', 'http://custom:8500', '--no-color']):
|
||||
with patch.object(sys, 'argv', ['cli.py', '--consul-url', 'http://custom:8500', '--no-color', '--restart', 'node1']):
|
||||
args = cli.parse_args()
|
||||
assert args.consul_url == 'http://custom:8500'
|
||||
assert args.no_color is True
|
||||
assert args.restart == 'node1'
|
||||
|
||||
Reference in New Issue
Block a user