tests/testthat/test_resourcegroups.R

svc <- paws::resourcegroups()

test_that("list_group_resources", {
  expect_error(svc$list_group_resources(), NA)
})

test_that("list_group_resources", {
  expect_error(svc$list_group_resources(MaxResults = 20), NA)
})

test_that("list_groups", {
  expect_error(svc$list_groups(), NA)
})

test_that("list_groups", {
  expect_error(svc$list_groups(MaxResults = 20), NA)
})

Try the paws.management package in your browser

Any scripts or data that you put into this service are public.

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.