tests: fixes #4168 removing git xfails in pr and vcs commit tests
This commit is contained in:
parent
b07694de35
commit
ea4cb9d4ae
2 changed files with 5 additions and 4 deletions
|
|
@ -64,8 +64,6 @@ class TestPullrequestsController:
|
|||
assert response.status == '302 Found'
|
||||
assert redirect_url in response.location
|
||||
|
||||
@pytest.mark.xfail_backends(
|
||||
"git", reason="Pending bugfix/feature, issue #6")
|
||||
def test_create_pr_form_with_raw_commit_id(self, backend):
|
||||
repo = backend.repo
|
||||
|
||||
|
|
|
|||
|
|
@ -325,9 +325,12 @@ class TestCommits(BackendTestMixin):
|
|||
assert line_no == 1
|
||||
assert commit_id == file_added_commit.raw_id
|
||||
assert commit_loader() == file_added_commit
|
||||
|
||||
# git annotation is generated differently thus different results
|
||||
if self.repo.alias == 'git':
|
||||
pytest.xfail("TODO: Git returns wrong value in line")
|
||||
assert line == 'Foobar 3'
|
||||
assert line == '(Joe Doe 2010-01-03 08:00:00 +0000 1) Foobar 3'
|
||||
else:
|
||||
assert line == 'Foobar 3'
|
||||
|
||||
def test_get_file_annotate_does_not_exist(self):
|
||||
file_added_commit = self.repo.get_commit(commit_idx=2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue