Test path fix for finding schema file.
This commit is contained in:
parent
7c90c04ce0
commit
47a8a95b29
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue