diff options
author | Thomas Waldmann <tw@waldmann-edv.de> | 2015-02-27 19:38:01 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-03-22 14:20:47 +0200 |
commit | c8fa097da39ea2a8635f64c819c2129695edbf0c (patch) | |
tree | c27546b1638a0c8abb901657d6ee869c4f8d8399 /obnamlib/repo_interface.py | |
parent | 72c194459d3e66b4104e268fcb402abd35678ca6 (diff) | |
download | obnam-c8fa097da39ea2a8635f64c819c2129695edbf0c.tar.gz |
fix typos
Diffstat (limited to 'obnamlib/repo_interface.py')
-rw-r--r-- | obnamlib/repo_interface.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/obnamlib/repo_interface.py b/obnamlib/repo_interface.py index 2720626e..b39f8abe 100644 --- a/obnamlib/repo_interface.py +++ b/obnamlib/repo_interface.py @@ -28,7 +28,7 @@ import obnamlib # The following is a canonical list of all keys that can be used with # the repository interface for key/value pairs. Not all formats need # to support all keys, but they all must support the test keys, for -# the test suite to function. All commong file metadata keys must also +# the test suite to function. All common file metadata keys must also # be supported by all formats. # # The keys may change in value from run to run. Treat them as opaque, @@ -239,7 +239,7 @@ class RepositoryInterface(object): implementation with the ``set_fs`` method. It must be stressed that ALL access to the repository go via - an implemention of RepositoryInterface. Further, all the + an implementation of RepositoryInterface. Further, all the implementation classes must be instantiated via RepositoryFactory. The abstraction RepositoryInterface provides for repositories @@ -479,7 +479,7 @@ class RepositoryInterface(object): raise NotImplementedError() def get_client_generation_ids(self, client_name): - '''Return a list of opague ids for generations in a client. + '''Return a list of opaque ids for generations in a client. The list is ordered: the first id in the list is the oldest generation. The ids needs not be sortable, and they may or @@ -1205,7 +1205,7 @@ class RepositoryInterfaceTests(unittest.TestCase): # pragma: no cover 'fooclient', obnamlib.REPO_CLIENT_TEST_KEY) self.assertEqual(value, 'bar') - def test_setting_unallowed_client_key_fails(self): + def test_setting_disallowed_client_key_fails(self): self.setup_client() self.repo.lock_client('fooclient') self.assertRaises( @@ -1220,7 +1220,7 @@ class RepositoryInterfaceTests(unittest.TestCase): # pragma: no cover self.repo.set_client_key, 'fooclient', obnamlib.REPO_CLIENT_TEST_KEY, 'bar') - def test_committing_client_preserves_key_changs(self): + def test_committing_client_preserves_key_changes(self): if self.client_test_key_is_allowed(): self.setup_client() self.repo.lock_client('fooclient') @@ -1334,7 +1334,7 @@ class RepositoryInterfaceTests(unittest.TestCase): # pragma: no cover gen_id, obnamlib.REPO_GENERATION_TEST_KEY) self.assertEqual(value, 'bar') - def test_setting_unallowed_generation_key_fails(self): + def test_setting_disallowed_generation_key_fails(self): if self.generation_test_key_is_allowed(): gen_id = self.create_generation() self.assertRaises( @@ -1350,7 +1350,7 @@ class RepositoryInterfaceTests(unittest.TestCase): # pragma: no cover self.repo.set_generation_key, gen_id, obnamlib.REPO_GENERATION_TEST_KEY, 'bar') - def test_committing_client_preserves_generation_key_changs(self): + def test_committing_client_preserves_generation_key_changes(self): if self.generation_test_key_is_allowed(): gen_id = self.create_generation() self.repo.set_generation_key( @@ -1586,7 +1586,7 @@ class RepositoryInterfaceTests(unittest.TestCase): # pragma: no cover gen_id, '/foo/bar', obnamlib.REPO_FILE_TEST_KEY) self.assertEqual(value, 'yoyo') - def test_setting_unallowed_file_key_fails(self): + def test_setting_disallowed_file_key_fails(self): gen_id = self.create_generation() self.repo.add_file(gen_id, '/foo/bar') self.assertRaises( @@ -1872,7 +1872,7 @@ class RepositoryInterfaceTests(unittest.TestCase): # pragma: no cover set(self.repo.get_chunk_ids()), set([chunk_id_1, chunk_id_2])) - def test_have_not_got_chunk_indexes_lock_initally(self): + def test_have_not_got_chunk_indexes_lock_initially(self): self.setup_client() self.assertFalse(self.repo.got_chunk_indexes_lock()) |