genpolicy: move policy enforcement integration test to separate folder

In preparation for adding more types of integration tests, moving the
policy enforcements test into a separate folder.

Signed-off-by: Leonard Cohnen <leonard.cohnen@gmail.com>
Signed-off-by: Markus Rudy <mr@edgeless.systems>
This commit is contained in:
Leonard Cohnen 2025-04-24 15:36:51 +02:00 committed by Markus Rudy
parent 2ea57aefbc
commit 61ee330029
23 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ mod tests {
.expect("should be able to create directories under CARGO_TARGET_TMPDIR");
let testdata_dir = path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))
.join("tests/testdata")
.join("tests/policy/testdata")
.join(test_case_dir);
fs::copy(testdata_dir.join("pod.yaml"), workdir.join("pod.yaml"))
.expect("copying files around should not fail");