Mercurial > hgsubversion
changeset 1578:68965b2e3401
tests: use repo['.'] instead of repo to check whether file exists
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Thu, 26 Jul 2018 15:56:24 +0300 |
parents | af9a3156f8ae |
children | 4830089aee58 |
files | tests/test_fetch_command.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test_fetch_command.py +++ b/tests/test_fetch_command.py @@ -87,8 +87,8 @@ class TestBasicRepoLayout(test_util.Test repo = self._load_fixture_and_fetch('file_mixed_with_branches.svndump') self.assertEqual(node.hex(revsymbol(repo, 'default').node()), '434ed487136c1b47c1e8f952edb4dc5a8e6328df') - assert 'README' not in repo - assert '../branches' not in repo + assert 'README' not in repo['.'] + assert '../branches' not in repo['.'] def test_files_copied_from_outside_btt(self): repo = self._load_fixture_and_fetch(