summaryrefslogtreecommitdiff
path: root/examples/get-ppds-drv-only.test
blob: e5c6de78fc91da18c7108b35095104e2175cc4c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Get drv-based PPD files using CUPS-Get-PPDs
{
	# The name of the test...
	NAME "Get drv-based PPD files using CUPS-Get-PPDs"

	# 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 name include-schemes drv

	# What statuses are OK?
	STATUS successful-ok
	STATUS successful-ok-ignored-or-substituted-attributes

	EXPECT ppd-name
}