tests/testthat/test_networkmanager.R

svc <- paws::networkmanager()

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

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

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

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

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

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

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

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

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

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

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

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