]> git.ipfire.org Git - pbs.git/commitdiff
tests: Test writing repositories
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 12 Oct 2022 14:53:25 +0000 (14:53 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 12 Oct 2022 14:53:25 +0000 (14:53 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/repo.py

index 32d03600a0aa5c4d0d4e2f406e527b6300b4502d..7f259edada5892510fba3700ef24249cf0d613d9 100755 (executable)
@@ -34,6 +34,12 @@ class RepoTestCase(test.TestCase):
                """
                self.assertIsInstance(self.repo, repository.Repository)
 
+       async def test_write(self):
+               """
+                       Tests writing a repository
+               """
+               await self.repo.write()
+
 
 if __name__ == "__main__":
        unittest.main()