]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 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 | |
f7deaa1a | 18 | # ATTR keyword requested-attributes job-media-sheets-completed,job-state |
ef416fc2 | 19 | |
20 | # What statuses are OK? | |
21 | #STATUS ok | |
22 | #STATUS ok-subst | |
23 | ||
24 | # What attributes do we expect? | |
25 | EXPECT job-uri | |
26 | EXPECT job-state | |
ef416fc2 | 27 | } |