File: skip-jsonvalidate-test

package info (click to toggle)
r-bioc-scrnaseq 2.20.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,036 kB
  • sloc: makefile: 2
file content (21 lines) | stat: -rw-r--r-- 762 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Author: Michael R. Crusoe <crusoe@debian.org>
Description: jsonvalidate is not yet packaged for Debian
Forwarded: not-needed

And thus r-bioc-alabaster.base had its calls to jsonvalidate removed

So we should expect validation to fail here
--- r-bioc-scrnaseq.orig/tests/testthat/test-saveDataset.R
+++ r-bioc-scrnaseq/tests/testthat/test-saveDataset.R
@@ -25,11 +25,6 @@
 
     meta <- jsonlite::fromJSON(file.path(tmp, "_bioconductor.json"), simplifyVector=FALSE)
     expect_identical(meta$bioconductor_version, as.character(BiocManager::version()))
-
-    # Validation fails as expected.
-    tmp <- tempfile()
-    meta$title <- 1234
-    expect_error(saveDataset(sce, tmp, meta), "title")
 })
 
 test_that("saveDataset works with ReloadedArray objects", {