From dfb0a9c4bca590efaa86f8edc3fdb62bd536bce7 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 12 Jan 2015 10:25:10 +0100 Subject: Added specific test for roughly checking configuration paths. For some reason, I didn't trust the existing one as it tests that code more indirectly. Related to #160 --- git/test/test_repo.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'git/test/test_repo.py') diff --git a/git/test/test_repo.py b/git/test/test_repo.py index 3abd9cd0..046b20a7 100644 --- a/git/test/test_repo.py +++ b/git/test/test_repo.py @@ -365,6 +365,11 @@ class TestRepo(TestBase): pass # END for each config level + def test_config_level_paths(self): + for config_level in self.rorepo.config_level: + assert self.rorepo._get_config_path(config_level) + # end for each config level + def test_creation_deletion(self): # just a very quick test to assure it generally works. There are # specialized cases in the test_refs module -- cgit v1.2.1