|
@@ -1935,17 +1935,6 @@ class ArchiverTestCase(ArchiverTestCaseBase):
|
|
log = self.cmd(f"--repo={self.repository_location}", "--debug", "create", "test", "input")
|
|
log = self.cmd(f"--repo={self.repository_location}", "--debug", "create", "test", "input")
|
|
assert "security: read previous location" in log
|
|
assert "security: read previous location" in log
|
|
|
|
|
|
- def test_usage(self):
|
|
|
|
- self.cmd()
|
|
|
|
- self.cmd("-h")
|
|
|
|
-
|
|
|
|
- def test_help(self):
|
|
|
|
- assert "Borg" in self.cmd("help")
|
|
|
|
- assert "patterns" in self.cmd("help", "patterns")
|
|
|
|
- assert "creates a new, empty repository" in self.cmd("help", "rcreate")
|
|
|
|
- assert "positional arguments" not in self.cmd("help", "rcreate", "--epilog-only")
|
|
|
|
- assert "creates a new, empty repository" not in self.cmd("help", "rcreate", "--usage-only")
|
|
|
|
-
|
|
|
|
def test_init_interrupt(self):
|
|
def test_init_interrupt(self):
|
|
def raise_eof(*args, **kwargs):
|
|
def raise_eof(*args, **kwargs):
|
|
raise EOFError
|
|
raise EOFError
|