Skip to content

Commit

Permalink
Use absolute path.
Browse files Browse the repository at this point in the history
  • Loading branch information
dillof committed Jan 3, 2024
1 parent 42aa85f commit 9629144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nihtest/File.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, name, input=None, result=None):
self.result = result

def file_name(self, directory):
return sandbox.sub(directory, self.name)
return sandbox.sub(os.path.abspath(directory), self.name)

def compare(self, configuration, directory):
if not self.result:
Expand Down

0 comments on commit 9629144

Please sign in to comment.