summaryrefslogtreecommitdiff
path: root/examples/get-ppds-product.test
diff options
context:
space:
mode:
Diffstat (limited to 'examples/get-ppds-product.test')
-rw-r--r--examples/get-ppds-product.test21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/get-ppds-product.test b/examples/get-ppds-product.test
new file mode 100644
index 000000000..b0535f7e1
--- /dev/null
+++ b/examples/get-ppds-product.test
@@ -0,0 +1,21 @@
+# Get PPD files using CUPS-Get-PPDs and Product
+{
+ # The name of the test...
+ NAME "Get PPD files using CUPS-Get-PPDs and Product"
+
+ # The resource to use for the POST
+ # RESOURCE /admin
+
+ # The operation to use
+ OPERATION CUPS-Get-PPDs
+
+ # 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
+ ATTR text ppd-product $ENV[product]
+
+ # What statuses are OK?
+ STATUS successful-ok
+}