Docstring updates for tests
This commit is contained in:
parent
9354dfd303
commit
35167f28c6
@ -17,7 +17,18 @@ UNWANTED_SNAPSHOT_CHARS = ["/"]
|
|||||||
|
|
||||||
# ========== Integration Tests ==========
|
# ========== Integration Tests ==========
|
||||||
class TestRepositoryPreCreate(unittest.TestCase):
|
class TestRepositoryPreCreate(unittest.TestCase):
|
||||||
"""Test properties of the Repository before running create_snapshot()."""
|
"""Test properties of the Repository before running create_snapshot().
|
||||||
|
|
||||||
|
Mocked Modules/Classes
|
||||||
|
----------------------
|
||||||
|
rbackup.struct.repository.Snapshot
|
||||||
|
|
||||||
|
Mocked Attributes
|
||||||
|
-----------------
|
||||||
|
* Repository.metadata_path
|
||||||
|
* Repository.read_metadata
|
||||||
|
* Repository.write_metadata
|
||||||
|
"""
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.patched_path = patch.object(
|
self.patched_path = patch.object(
|
||||||
@ -104,7 +115,18 @@ class TestRepositoryPreCreate(unittest.TestCase):
|
|||||||
|
|
||||||
|
|
||||||
class TestRepositoryPostCreate(unittest.TestCase):
|
class TestRepositoryPostCreate(unittest.TestCase):
|
||||||
"""Test properties of the Repository before running create_snapshot()."""
|
"""Test properties of the Repository after running create_snapshot().
|
||||||
|
|
||||||
|
Mocked Modules/Classes
|
||||||
|
----------------------
|
||||||
|
rbackup.struct.repository.Snapshot
|
||||||
|
|
||||||
|
Mocked Attributes
|
||||||
|
-----------------
|
||||||
|
* Repository.metadata_path
|
||||||
|
* Repository.read_metadata
|
||||||
|
* Repository.write_metadata
|
||||||
|
"""
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.patched_path = patch.object(
|
self.patched_path = patch.object(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user