From 47a8a95b297a9d6293cbd233cd705c3dc1d4c580 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Wed, 20 Nov 2024 08:18:06 -0800 Subject: [PATCH] Test path fix for finding schema file. --- tests/integration/config/test_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/config/test_schema.py b/tests/integration/config/test_schema.py index c9c33cf6..30eb1c47 100644 --- a/tests/integration/config/test_schema.py +++ b/tests/integration/config/test_schema.py @@ -8,7 +8,7 @@ MAXIMUM_LINE_LENGTH = 80 def test_schema_line_length_stays_under_limit(): - schema_file = open('borgmatic/config/schema.yaml') + schema_file = open(borgmatic.config.validate.schema_filename()) for line in schema_file.readlines(): assert len(line.rstrip('\n')) <= MAXIMUM_LINE_LENGTH