Skip to content

Commit 560f08f

Browse files
removing 2025-04-02_test file (#347)
* removing 2025-04-02_test file * updating news
1 parent bf20b6c commit 560f08f

2 files changed

Lines changed: 1 addition & 26 deletions

File tree

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Features
44
* Scheduling `make run-prod` on Github Actions Wednesdays at 8 AM ET
55
* Adds facility active proportion information for config runs and re-runs
6+
* Removing test data in test-exclusions
67
* Adds RSV into the makefile for configs
78
* Updating EpiNow2 from version 1.4.1.9000 to version 1.6.1
89
* Remove azure/requirements.txt as we have moved to inline dependencies in *uv*

tests/testthat/test-exclusions.R

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -100,29 +100,3 @@ test_that("Bad query errors", {
100100
class = "wrapped_invalid_query"
101101
)
102102
})
103-
104-
test_that("Works as expected on large exclusions file", {
105-
# Read in the large exclusions file
106-
excl_path <- test_path("data", "test_big_exclusions.csv")
107-
exclusions <- read_exclusions(excl_path)
108-
109-
# Load some sample case data
110-
data_path <- test_path("data", "2025-04-02_test.parquet")
111-
cases <- read_data(
112-
data_path,
113-
disease = "COVID-19",
114-
geo_value = "OH",
115-
report_date = "2025-04-02",
116-
max_reference_date = "2025-04-02",
117-
min_reference_date = "1970-01-01"
118-
)
119-
120-
# Apply the exclusions
121-
got <- apply_exclusions(cases, exclusions)
122-
123-
# Check that the exclusions were applied as expected
124-
expect_equal(
125-
got$confirm[179:181],
126-
c(54, NA, NA)
127-
)
128-
})

0 commit comments

Comments
 (0)