File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -467,13 +467,16 @@ def test_option(self):
467467
468468 expected = (
469469 'foo="f" boolean="f" code="foo == \\ "bar\\ "" duration="24:59:59" fieldname="some.field_name" '
470- 'file=' + json_encode_string (__file__ ) + ' integer="100" float="99.9" map="foo" match="123-45-6789" '
470+ 'file=' + json_encode_string (__file__ ) + ' float="99.9" integer="100 " map="foo" match="123-45-6789" '
471471 'optionname="some_option_name" record="f" regularexpression="\\ \\ s+" required_boolean="f" '
472472 'required_code="foo == \\ "bar\\ "" required_duration="24:59:59" required_fieldname="some.field_name" '
473- 'required_file=' + json_encode_string (__file__ ) + ' required_integer="100" required_float="99.9" required_map="foo" '
473+ 'required_file=' + json_encode_string (__file__ ) + ' required_float="99.9" required_integer="100 " required_map="foo" '
474474 'required_match="123-45-6789" required_optionname="some_option_name" required_regularexpression="\\ \\ s+" '
475475 'required_set="bar" set="bar" show_configuration="f"' )
476476
477+ print (command .options )
478+ print ()
479+ print (expected )
477480 observed = six .text_type (command .options )
478481
479482 self .assertEqual (observed , expected )
You can’t perform that action at this time.
0 commit comments