##// END OF EJS Templates
tests: fixes #4168 removing git xfails in pr and vcs commit tests
lisaq -
r677:191d2d88 default
parent child Browse files
Show More
@@ -64,8 +64,6 b' class TestPullrequestsController:'
64 64 assert response.status == '302 Found'
65 65 assert redirect_url in response.location
66 66
67 @pytest.mark.xfail_backends(
68 "git", reason="Pending bugfix/feature, issue #6")
69 67 def test_create_pr_form_with_raw_commit_id(self, backend):
70 68 repo = backend.repo
71 69
@@ -325,8 +325,11 b' class TestCommits(BackendTestMixin):'
325 325 assert line_no == 1
326 326 assert commit_id == file_added_commit.raw_id
327 327 assert commit_loader() == file_added_commit
328
329 # git annotation is generated differently thus different results
328 330 if self.repo.alias == 'git':
329 pytest.xfail("TODO: Git returns wrong value in line")
331 assert line == '(Joe Doe 2010-01-03 08:00:00 +0000 1) Foobar 3'
332 else:
330 333 assert line == 'Foobar 3'
331 334
332 335 def test_get_file_annotate_does_not_exist(self):
General Comments 0
You need to be logged in to leave comments. Login now