mirror of
https://github.com/borgbackup/borg.git
synced 2026-04-21 22:29:54 -04:00
remote: pragma: no cover for the stuff we can't test
This commit is contained in:
parent
4d8949e66a
commit
8300efb1db
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ class InvalidRPCMethod(Error):
|
|||
"""RPC method is not valid"""
|
||||
|
||||
|
||||
class RepositoryServer:
|
||||
class RepositoryServer: # pragma: no cover
|
||||
rpc_methods = (
|
||||
'__len__',
|
||||
'check',
|
||||
|
|
@ -129,7 +129,7 @@ class RemoteRepository:
|
|||
umask = ['--umask', '%03o' % self.umask]
|
||||
if location.host == '__testsuite__':
|
||||
args = [sys.executable, '-m', 'borg.archiver', 'serve'] + umask + self.extra_test_args
|
||||
else:
|
||||
else: # pragma: no cover
|
||||
args = ['ssh']
|
||||
if location.port:
|
||||
args += ['-p', str(location.port)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue