tests/testthat/test_servicediscovery.R

svc <- paws::servicediscovery()

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

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

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

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

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

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

Try the paws.networking package in your browser

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

paws.networking documentation built on Sept. 12, 2023, 1:24 a.m.