diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-04-02 22:50:05 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-04-02 22:50:05 +0300 |
commit | ee9eb9882cb9db62eda1038bf052fdceecb071a4 (patch) | |
tree | c1f6657fc53b8a648b0a0305bdae1ef9eed3833e | |
parent | f8c3909195d803208b18e2fda07dd10569d8fdb0 (diff) | |
download | obnam-ee9eb9882cb9db62eda1038bf052fdceecb071a4.tar.gz |
Increase coverage to 100 % (minus explicit exclusions)
-rw-r--r-- | obnamlib/repo_factory_tests.py | 4 | ||||
-rw-r--r-- | without-tests | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/obnamlib/repo_factory_tests.py b/obnamlib/repo_factory_tests.py index cc2d93d0..a899ef19 100644 --- a/obnamlib/repo_factory_tests.py +++ b/obnamlib/repo_factory_tests.py @@ -34,6 +34,10 @@ class RepositoryFormatTests(unittest.TestCase): def tearDown(self): shutil.rmtree(self.tempdir) + def test_returns_list_of_implementation_classes(self): + factory = obnamlib.RepositoryFactory() + self.assertEqual(type(factory.get_implementation_classes()), list) + def test_raises_exception_for_unknown_format(self): fs = obnamlib.LocalFS(self.repodir) fs.write_file('metadata/format', 'unknown') diff --git a/without-tests b/without-tests index 01144415..154df25d 100644 --- a/without-tests +++ b/without-tests @@ -15,6 +15,7 @@ obnamlib/plugins/force_lock_plugin.py obnamlib/plugins/forget_plugin.py obnamlib/plugins/fsck_plugin.py obnamlib/plugins/fuse_plugin.py +obnamlib/plugins/list_formats_plugin.py obnamlib/plugins/restore_plugin.py obnamlib/plugins/sftp_plugin.py obnamlib/plugins/show_plugin.py |