summaryrefslogtreecommitdiff
path: root/examples/get-ppds-product.test
blob: b0535f7e1aa763113f0e1b89cb17c2002ae51ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
}