diff options
Diffstat (limited to 'examples/get-devices.test')
-rw-r--r-- | examples/get-devices.test | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/get-devices.test b/examples/get-devices.test new file mode 100644 index 000000000..c31a1b129 --- /dev/null +++ b/examples/get-devices.test @@ -0,0 +1,21 @@ +# Get devices using CUPS-get-devices +{ + # The name of the test... + NAME "Get devices using CUPS-get-devices" + + # The resource to use for the POST + # RESOURCE /admin + + # The operation to use + OPERATION CUPS-get-devices + + # Attributes, starting in the operation group... + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + + # What statuses are OK? + STATUS successful-ok + STATUS successful-ok-ignored-or-substituted-attributes +} |