mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 01:37:20 +00:00
remove unneeded code
This commit is contained in:
parent
db0d15c182
commit
87c3f11796
1 changed files with 0 additions and 20 deletions
|
@ -357,31 +357,11 @@ def check_cache(self):
|
|||
assert id in seen
|
||||
|
||||
|
||||
class ArchiverTestCase(ArchiverTestCaseBase):
|
||||
def test_do_not_mention_archive_if_you_can_not_find_repo(self):
|
||||
"""https://github.com/borgbackup/borg/issues/6014"""
|
||||
output = self.cmd(
|
||||
f"--repo={self.repository_location}-this-repository-does-not-exist",
|
||||
"info",
|
||||
"-a",
|
||||
"test",
|
||||
exit_code=2,
|
||||
fork=True,
|
||||
)
|
||||
self.assert_in("this-repository-does-not-exist", output)
|
||||
self.assert_not_in("this-repository-does-not-exist::test", output)
|
||||
|
||||
|
||||
class ArchiverTestCaseBinaryBase:
|
||||
EXE = "borg.exe"
|
||||
FORK_DEFAULT = True
|
||||
|
||||
|
||||
@unittest.skipUnless("binary" in BORG_EXES, "no borg.exe available")
|
||||
class ArchiverTestCaseBinary(ArchiverTestCaseBinaryBase, ArchiverTestCase):
|
||||
pass
|
||||
|
||||
|
||||
class RemoteArchiverTestCaseBase:
|
||||
prefix = "ssh://__testsuite__"
|
||||
|
||||
|
|
Loading…
Reference in a new issue