Skip to content
Snippets Groups Projects
Commit 5622b6e1 authored by Georges Racinet's avatar Georges Racinet
Browse files

coverage: exclude not implemented methods having a tracking issue

Before the issues were created, the coverage could serve as a
reminder that they have to be done. This is not useful any more,
we'd prefer the coverage to be useful in itself (missing tests,
code becoming unexpectedly dead…)
parent 113debc0
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,9 @@
def CountCommits(self,
request: CountCommitsRequest,
context) -> CountCommitsResponse:
pass
raise NotImplementedError(
"Implementation tracking issue: hgitaly#7"
) # pragma no cover
def FindCommit(self,
request: FindCommitRequest, context) -> FindCommitResponse:
......
......@@ -155,7 +155,9 @@
As of GitLab 12.10, there is no caller for this Repository method
in the whole Rails application.
"""
raise NotImplementedError("Second round of implementation")
raise NotImplementedError(
"Implementation tracking issue: hgitaly#9"
) # pragma no cover
def FindLocalBranches(self,
request: FindLocalBranchesRequest,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment