Skip to content

Commit 343ba7e

Browse files
committed
fix test
1 parent 981feaf commit 343ba7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/pair_test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,18 @@ def test_pairing_with_move():
3838
testdir = 'testdata/renamedfile'
3939
diff = util.find_diff('%s/left/dir' % testdir, '%s/right/dir' % testdir)
4040
eq_([{'a': 'file.json',
41+
'a_path': 'testdata/renamedfile/left/dir/file.json',
4142
'path': 'file.json',
4243
'b': 'renamed.json',
44+
'b_path': 'testdata/renamedfile/right/dir/renamed.json',
4345
'type': 'move',
4446
'no_changes': True,
4547
'idx': 0},
4648
{'a': 'file.json',
49+
'a_path': 'testdata/renamedfile/left/dir/file.json',
4750
'path': 'file.json',
4851
'b': None,
52+
'b_path': None,
4953
'type': 'delete',
5054
'no_changes': False,
5155
'idx': 1}], diff)

0 commit comments

Comments
 (0)