mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 03:40:48 +01:00
(v3.0.1.9135) Fix get_mo_source() removing the mo_source file at the default location, returning the wrong mo_source, and throwing an error after the original file was moved, and run the unit tests in CI also in a real interactive session and with a user setup, a Dutch locale, and CLSI as default guideline, with tests that no longer assume an English locale or EUCAST
This commit is contained in:
1 parent
4be7352843
commit
8b01bcb23c
16 files changed
+360
-38
No files matched your search
@@ -29,6 +29,9 @@
|
||||
|
||||
test_that("test-interpretive_rules.R", {
|
||||
skip_on_cran()
|
||||
# these tests are based on EUCAST rules, which must also hold when another guideline is set with the AMR_guideline option
|
||||
old_opts <- options(AMR_guideline = "EUCAST")
|
||||
on.exit(options(old_opts), add = TRUE)
|
||||
|
||||
# thoroughly check input table
|
||||
expect_equal(
|
||||
|
||||
Reference in new issue
Block a user