tests/testthat/test_codecommit.R

svc <- paws::codecommit()

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

test_that("list_repositories", {
  expect_error(svc$list_repositories(), 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.