##// 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 assert response.status == '302 Found'
64 assert response.status == '302 Found'
65 assert redirect_url in response.location
65 assert redirect_url in response.location
66
66
67 @pytest.mark.xfail_backends(
68 "git", reason="Pending bugfix/feature, issue #6")
69 def test_create_pr_form_with_raw_commit_id(self, backend):
67 def test_create_pr_form_with_raw_commit_id(self, backend):
70 repo = backend.repo
68 repo = backend.repo
71
69
@@ -325,9 +325,12 b' class TestCommits(BackendTestMixin):'
325 assert line_no == 1
325 assert line_no == 1
326 assert commit_id == file_added_commit.raw_id
326 assert commit_id == file_added_commit.raw_id
327 assert commit_loader() == file_added_commit
327 assert commit_loader() == file_added_commit
328
329 # git annotation is generated differently thus different results
328 if self.repo.alias == 'git':
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'
330 assert line == 'Foobar 3'
332 else:
333 assert line == 'Foobar 3'
331
334
332 def test_get_file_annotate_does_not_exist(self):
335 def test_get_file_annotate_does_not_exist(self):
333 file_added_commit = self.repo.get_commit(commit_idx=2)
336 file_added_commit = self.repo.get_commit(commit_idx=2)
General Comments 0
You need to be logged in to leave comments. Login now