svanoort / pyresttest

Python Rest Testing
Apache License 2.0
1.15k stars 326 forks source link

Example in README has syntax errors (maybe) #299

Open ip1981 opened 5 years ago

ip1981 commented 5 years ago

Adding a space after : in few places fix the problem:

yaml.scanner.ScannerError: while scanning a plain scalar
  in "<unicode string>", line 24, column 35:
            - compare: {raw_body: "", comparator:contains, expected: ' ... 
                                      ^
found unexpected ':'
  in "<unicode string>", line 24, column 45:
     ... mpare: {raw_body: "", comparator:contains, expected: 'Baltar' }  ... 
                                         ^
Please check http://pyyaml.org/wiki/YAMLColonInFlowContext for details.