tests/testthat/test_resourceexplorer.R

svc <- paws::resourceexplorer()

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

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

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

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

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

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

Try the paws.application.integration package in your browser

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

paws.application.integration documentation built on Sept. 12, 2024, 6:11 a.m.