]> git.ipfire.org Git - thirdparty/cups.git/blob - test/get-job-attributes2.test
Load cups into easysw/current.
[thirdparty/cups.git] / test / get-job-attributes2.test
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?
19 STATUS ok
20 STATUS ok-subst
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 }