Skip to content

Commit

Permalink
test does not highlight the problem
Browse files Browse the repository at this point in the history
  • Loading branch information
smn committed Oct 23, 2014
1 parent a8a37f2 commit cfd45ff
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions elasticgit/tests/test_workspace.py
Expand Up @@ -196,15 +196,10 @@ def test_fast_forward(self):
'age': 1,
'name': 'Name',
})
person2 = TestPerson({
'age': 2,
'name': 'Foo',
})

self.upstream_workspace = self.mk_workspace(
name='%s-upstream' % (self.id().lower()))
self.upstream_workspace.save(person1, 'Saving upstream 1')
self.upstream_workspace.save(person2, 'Saving upstream 2')

repo = self.workspace.repo
repo.create_remote(
Expand All @@ -215,7 +210,7 @@ def test_fast_forward(self):
self.workspace.fast_forward()
self.workspace.reindex(TestPerson)
self.assertEqual(
self.workspace.S(TestPerson).count(), 2)
self.workspace.S(TestPerson).count(), 1)

def test_fast_forward_with_multiple_remotes(self):
person = TestPerson({
Expand Down

0 comments on commit cfd45ff

Please sign in to comment.