Haibo Huang | 4c28362 | 2019-12-13 16:47:52 -0800 | [diff] [blame] | 1 | # Test get-job-attributes by sending a print job, getting the attributes, |
| 2 | # and cancelling it. |
| 3 | { |
| 4 | # The name of the test... |
| 5 | NAME "Get job info with get-job-attributes" |
| 6 | |
| 7 | # The resource to use for the POST |
| 8 | # RESOURCE /admin |
| 9 | |
| 10 | # The operation to use |
| 11 | OPERATION get-job-attributes |
| 12 | |
| 13 | # Attributes, starting in the operation group... |
| 14 | GROUP operation |
| 15 | ATTR charset attributes-charset utf-8 |
| 16 | ATTR language attributes-natural-language en |
| 17 | ATTR uri job-uri $uri |
| 18 | # ATTR keyword requested-attributes job-media-sheets-completed,job-state |
| 19 | |
| 20 | # What statuses are OK? |
| 21 | #STATUS successful-ok |
| 22 | #STATUS successful-ok-ignored-or-substituted-attributes |
| 23 | |
| 24 | # What attributes do we expect? |
| 25 | EXPECT job-uri |
| 26 | EXPECT job-state |
| 27 | } |