Skip to content

Commit 2245406

Browse files
Corrected serverside expected variables
1 parent 526b4e5 commit 2245406

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

tests/testthat/test-smk-ds.glmPredict.R

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ test_that("simple glmPredict, gaussian, with newobj, se.fit=TRUE", {
193193
expect_length(glmSLMA.res$validity.check, 1)
194194
expect_equal(glmSLMA.res$validity.check, "<gaussian.glmslma.obj> appears valid in all sources")
195195

196-
res <- ds.glmPredict("gaussian.glmslma.obj", newdataname = NULL, output.type = "response", se.fit = TRUE, na.action = "na.pass", newobj="gaussian.glmslma.predict.obj.sefit")
196+
res <- ds.glmPredict("gaussian.glmslma.obj", newdataname = NULL, output.type = "response", se.fit = TRUE, na.action = "na.pass", newobj="gaussian.glm.predict.sefit.obj")
197197

198198
expect_length(res, 3)
199199
expect_equal(class(res), "list")
@@ -480,7 +480,7 @@ test_that("simple glmPredict, poisson, with newobj, se.fit=TRUE", {
480480
expect_length(glmSLMA.res$validity.check, 1)
481481
expect_equal(glmSLMA.res$validity.check, "<poisson.glmslma.obj> appears valid in all sources")
482482

483-
res <- ds.glmPredict("poisson.glmslma.obj", newdataname = NULL, output.type = "response", se.fit = TRUE, na.action = "na.pass", newobj="poisson.glm.predict.obj")
483+
res <- ds.glmPredict("poisson.glmslma.obj", newdataname = NULL, output.type = "response", se.fit = TRUE, na.action = "na.pass", newobj="poisson.glm.predict.sefit.obj")
484484

485485
expect_length(res, 3)
486486
expect_equal(class(res), "list")
@@ -622,9 +622,11 @@ context("ds.glmPredict::smk::shutdown")
622622

623623
test_that("shutdown", {
624624
print(ds.ls())
625-
ds_expect_variables(c("D", "gaussian.glmslma.obj", "gaussian.glm.predict.obj","gaussian.glmslma.predict.obj.sefit","poisson.glm.predict.obj", "poisson.glmslma.obj", "predict_glm","binomial.glmslma.obj"))
625+
ds_expect_variables(c("D", "gaussian.glm.predict.obj", "gaussian.glm.predict.sefit.obj", "gaussian.glmslma.obj", "poisson.glm.predict.obj", "poisson.glm.predict.sefit.obj", "poisson.glmslma.obj", "predict_glm" ))
626626
})
627627

628+
# ,"binomial.glmslma.obj"
629+
628630
disconnect.studies.dataset.cnsim()
629631

630632
#

0 commit comments

Comments
 (0)