Skip to content

Commit

Permalink
test(pseudo): update test index
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Aug 21, 2024
1 parent f612fe6 commit e69a9d1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/pseudo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ mod tests {

#[test]
// Test the parsing of a triple.
fn encrypt_nt_file() {
fn pseudo_nt_file() {
let logger = log::create_logger(true);

let dir = tempdir().unwrap();
let input_path = Path::new("tests/data/test.nt");
let rules_path = Path::new("tests/data/rules.yaml");
let output_path = dir.path().join("output.nt");
let type_map_path = Path::new("tests/data/type_map.nt");
let type_map_path = Path::new("tests/data/type_index.yaml");
let key = None;
pseudonymize_graph(
&logger,
Expand Down
15 changes: 15 additions & 0 deletions tests/data/type_index.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
types:
- <http://xmlns.com/foaf/0.1/Person>
- <http://xmlns.com/foaf/OnlineAccount>
- <http://xmlns.com/foaf/0.1/Organization>
map:
'9932096721503705860':
- 1
'8283467020653172379':
- 0
'10729855068363610633':
- 2
'130358124972442050':
- 0
'15212815035200482759':
- 1
4 changes: 0 additions & 4 deletions tests/data/type_map.nt

This file was deleted.

0 comments on commit e69a9d1

Please sign in to comment.