tests/testthat/test_s3outposts.R

svc <- paws::s3outposts()

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

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

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

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

Try the paws.storage package in your browser

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

paws.storage documentation built on Sept. 12, 2024, 6:16 a.m.