tests/testthat/test-easy-Auth.R

library("sevenbridges")

context("Auth Class")

# check_token <- function() {
#   if (missing(token)) {
#     skip("token not available")
#   }
# }

# test_that("Test Auth constructor",{
#     expect_is(Auth("your_token"), "Auth")
#     expect_error(Auth(token))
# })
sbg/sevenbridges-r documentation built on March 26, 2021, 3:33 p.m.