Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd808621

Browse files
committed
tests: fix checkdb for Windows
1 parent5362c2a commitd808621

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎tests/checkdb.py‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,11 +431,13 @@ def test_checkdb_block_validation_sanity(self):
431431
repr(e.message),self.cmd))
432432

433433
self.assertIn(
434-
"WARNING: CORRUPTION in file {0}, block 1".format(heap_full_path),
434+
"WARNING: CORRUPTION in file {0}, block 1".format(
435+
os.path.normpath(heap_full_path)),
435436
e.message)
436437

437438
self.assertIn(
438-
"WARNING: CORRUPTION in file {0}, block 5".format(heap_full_path),
439+
"WARNING: CORRUPTION in file {0}, block 5".format(
440+
os.path.normpath(heap_full_path)),
439441
e.message)
440442

441443
# Clean after yourself

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp