forked from nationalparkservice/DPchecker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request nationalparkservice#148 from RobLBaker/main
Fix test_license so that it works properly with restricted references
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
good_dir <- test_path("good") | ||
bad_dir <- test_path("bad") | ||
bicy_meta <- load_metadata(test_path("good", "BICY_good")) | ||
buis_meta <- load_metadata(test_path("good", "BUIS_good")) | ||
|
||
# ---- test_pii_meta_emails | ||
|
||
test_that("test_pii_data_emails finds true negatives", | ||
{ | ||
msg <- "Data files do not appear to contain any personal emails." | ||
expect_message(test_pii_data_emails(here::here(good_dir, | ||
"BICY_good")), | ||
msg) | ||
} | ||
) | ||
|
||
# ---- |