summaryrefslogtreecommitdiff
path: root/examples/get-subscriptions.test
blob: 09766ffdac09eabc5ab77131decdd72ea0597e8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Get subscriptions using Get-Subscriptions
{
	# The name of the test...
	NAME "Get subscriptions using Get-Subscriptions"

	# The resource to use for the POST
	# RESOURCE /admin

	# The operation to use
	OPERATION Get-Subscriptions

	# 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
}