mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-07-29 23:58:23 -05:00
ipatests: update docstring to reflect changes in FileBackup.restore()
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
@@ -1974,7 +1974,7 @@ class FileBackup:
|
||||
host.run_command(['cp', '--preserve=all', filename, self._backup])
|
||||
|
||||
def restore(self):
|
||||
"""Restore file. Can be called multiple times."""
|
||||
"""Restore file. Can be called only once."""
|
||||
self._host.run_command(['mv', self._backup, self._filename])
|
||||
|
||||
def __enter__(self):
|
||||
|
||||
Reference in New Issue
Block a user