tests/testthat/test_dl.R

context("dl")

test_that("Invalid apikey is handled correctly", {
  expect_error(fetch_notices(list(), "not_valid_apikey"),
               "invalid subscription key")
})
hansel-oy/hilma documentation built on Feb. 20, 2020, 3:20 a.m.