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