Skip to content

Commit

Permalink
BF: Correct assertion to check what we are actually interested in. (C…
Browse files Browse the repository at this point in the history
…loses datalad#1319)
  • Loading branch information
bpoldrack committed Feb 22, 2017
1 parent 15a52bf commit 1df1f13
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions datalad/distribution/tests/test_publish.py
Expand Up @@ -95,8 +95,9 @@ def test_publish_simple(origin, src_path, dst_path):
ok_clean_git(dst_path, annex=None)
eq_(list(target.get_branch_commits("master")),
list(source.repo.get_branch_commits("master")))
eq_(list(target.get_branch_commits("git-annex")),
list(source.repo.get_branch_commits("git-annex")))
assert(all(
[commit in list(target.get_branch_commits("git-annex"))
for commit in list(source.repo.get_branch_commits("git-annex"))]))


@with_testrepos('submodule_annex', flavors=['local'])
Expand Down

0 comments on commit 1df1f13

Please sign in to comment.