added test for git forward diff

This commit is contained in:
Vinay Karanam
2016-06-01 15:49:44 +05:30
parent 81d7efa7bb
commit b61a0b5467

View File

@@ -401,6 +401,10 @@ def test_get_changed_files():
)
assert files == ['CHANGELOG.md', 'setup.py']
# files changed in source but not in origin should not be returned
files = get_changed_files('HEAD~10', 'HEAD')
assert files == []
def test_lots_of_files(mock_out_store_directory, tempdir_factory):
# windows xargs seems to have a bug, here's a regression test for