From 35167f28c6629350fa3667a2b9712a339a1e7201 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Wed, 10 Apr 2019 18:13:13 -0700 Subject: [PATCH] Docstring updates for tests --- tests/test_repository.py | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/tests/test_repository.py b/tests/test_repository.py index 48b45e3..d1fb2b8 100644 --- a/tests/test_repository.py +++ b/tests/test_repository.py @@ -17,7 +17,18 @@ UNWANTED_SNAPSHOT_CHARS = ["/"] # ========== Integration Tests ========== 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): self.patched_path = patch.object( @@ -104,7 +115,18 @@ class TestRepositoryPreCreate(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): self.patched_path = patch.object(