From: Michael Tremer Date: Wed, 12 Oct 2022 14:48:58 +0000 (+0000) Subject: tests: Check default repository X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a748d7442b8b19998ebb74e7be71fa00407b64f;p=pbs.git tests: Check default repository Signed-off-by: Michael Tremer --- diff --git a/tests/repo.py b/tests/repo.py index 5dfa24b1..32d03600 100755 --- a/tests/repo.py +++ b/tests/repo.py @@ -28,6 +28,12 @@ class RepoTestCase(test.TestCase): # Check if a key was generated self.assertIsInstance(repo.key, keys.Key) + def test_default(self): + """ + Tests whether we can access the default repository + """ + self.assertIsInstance(self.repo, repository.Repository) + if __name__ == "__main__": unittest.main()