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))
# })
tengfei/sevenbridges documentation built on March 27, 2021, 1:22 p.m.