Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0ef622f

Browse files
committed
tests: fix error message about an extra page in file
1 parent 615c94c commit 0ef622f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/helpers/ptrack_helpers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,8 +993,7 @@ def compare_pgdata(self, original_pgdata, restored_pgdata):
993993
)
994994
for page in restored_pgdata['files'][file]['md5_per_page']:
995995
if page not in original_pgdata['files'][file]['md5_per_page']:
996-
error_message += '\n Extra page {0}\n '
997-
'File: {1}\n'.format(
996+
error_message += '\n Extra page {0}\n File: {1}\n'.format(
998997
page,
999998
os.path.join(
1000999
restored_pgdata['pgdata'], file))

0 commit comments

Comments
 (0)