From b997a3f41aeeaccb57d32cb0ea312f3bd2236252 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Sun, 16 Feb 2020 19:20:22 -0700 Subject: [PATCH] fix example validator --- .tests/validate_examples.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tests/validate_examples.py b/.tests/validate_examples.py index 588e440..0b6da7f 100644 --- a/.tests/validate_examples.py +++ b/.tests/validate_examples.py @@ -11,7 +11,7 @@ from hyperglass.configuration.models.params import Params from hyperglass.configuration.models.routers import Routers from hyperglass.configuration.models.commands import Commands -EXAMPLES = Path(__file__).cwd().parent / "hyperglass" / "examples" +EXAMPLES = Path(__file__).parent.parent / "hyperglass" / "examples" DEVICES = EXAMPLES / "devices.yaml" COMMANDS = EXAMPLES / "commands.yaml"