]> git.ipfire.org Git - thirdparty/cups.git/blame - examples/get-job-attributes2.test
Move example ipptool files to the examples directory.
[thirdparty/cups.git] / examples / get-job-attributes2.test
CommitLineData
ef416fc2 1# Test get-job-attributes
2{
3 # The name of the test...
4 NAME "get-job-attributes"
5
6 # The resource to use for the POST
7 # RESOURCE /admin
8
9 # The operation to use
10 OPERATION get-job-attributes
11
12 # Attributes, starting in the operation group...
13 GROUP operation
14 ATTR charset attributes-charset utf-8
15 ATTR language attributes-natural-language en
16 ATTR uri job-uri $uri
17
18 # What statuses are OK?
94436c5a
MS
19 STATUS successful-ok
20 STATUS successful-ok-ignored-or-substituted-attributes
ef416fc2 21
22 # What attributes do we expect?
23 EXPECT job-uri
24 EXPECT job-state
25 EXPECT time-at-creation
26 EXPECT time-at-completed
27 EXPECT time-at-processing
28}