]> git.ipfire.org Git - thirdparty/cups.git/blame - test/get-job-attributes.test
Load cups into easysw/current.
[thirdparty/cups.git] / test / get-job-attributes.test
CommitLineData
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
18
19 # What statuses are OK?
20 #STATUS ok
21 #STATUS ok-subst
22
23 # What attributes do we expect?
24 EXPECT job-uri
25 EXPECT job-state
f7faf1f5 26 EXPECT bogus-attribute
ef416fc2 27}