tests/testthat/test-pullFromCon.R

context("pullFromCon")

test_that("pullFromCon.DataCon.IntelligentForecaster.Csv", {
  inst <- DataCon.IntelligentForecaster.Csv$new(con = tempdir())
  expect_warning(
    expect_error(pullFromCon(inst), "cannot open the connection"),
    "Permission denied"
  )
})
rappster/dataconr documentation built on May 26, 2019, 11:14 p.m.