tests/testthat/test_codestarconnections.R

svc <- paws::codestarconnections()

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

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

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

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

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

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

Try the paws.developer.tools package in your browser

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

paws.developer.tools documentation built on Sept. 12, 2024, 6:46 a.m.