Blame test/ipp-backend.test
|
Packit |
2fc92b |
# Get printer attributes using get-printer-attributes
|
|
Packit |
2fc92b |
{
|
|
Packit |
2fc92b |
# The name of the test...
|
|
Packit |
2fc92b |
NAME "Get printer attributes using get-printer-attributes"
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
# The resource to use for the POST
|
|
Packit |
2fc92b |
# RESOURCE /admin
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
# The operation to use
|
|
Packit |
2fc92b |
OPERATION get-printer-attributes
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
# Attributes, starting in the operation group...
|
|
Packit |
2fc92b |
GROUP operation
|
|
Packit |
2fc92b |
ATTR charset attributes-charset utf-8
|
|
Packit |
2fc92b |
ATTR language attributes-natural-language en
|
|
Packit |
2fc92b |
ATTR uri printer-uri $uri
|
|
Packit |
2fc92b |
ATTR keyword requested-attributes com.apple.print.recoverable-message,copies-supported,document-format-supported,marker-colors,marker-levels,marker-message,marker-names,marker-types,printer-is-accepting-jobs,printer-state,printer-state-message,printer-state-reasons
|
|
Packit |
2fc92b |
|
|
Packit |
2fc92b |
# What statuses are OK?
|
|
Packit |
2fc92b |
STATUS successful-ok
|
|
Packit |
2fc92b |
STATUS successful-ok-ignored-or-substituted-attributes
|
|
Packit |
2fc92b |
}
|