cups/examples/get-devices.test

22 lines
504 B
Plaintext

# 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
}