tests/testthat/test_prometheusservice.R

svc <- paws::prometheusservice()

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

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

Try the paws.management package in your browser

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

paws.management documentation built on Sept. 12, 2024, 6:19 a.m.