summaryrefslogtreecommitdiff
path: root/obnamlib/repo_interface.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-08-28 19:23:11 +0300
committerLars Wirzenius <liw@liw.fi>2015-08-28 19:23:11 +0300
commitc114ab0fc48a2cf39bdf1c47f5b40f95c111acb1 (patch)
tree81d3bf8bb14b8bb6ccf24a6483cb8e485f9f4dc4 /obnamlib/repo_interface.py
parent9bcc11b320743f7a6b5f26e0638044105d9f907a (diff)
downloadobnam-c114ab0fc48a2cf39bdf1c47f5b40f95c111acb1.tar.gz
Add RepositoryInterfaceTests.repo attribute
Diffstat (limited to 'obnamlib/repo_interface.py')
-rw-r--r--obnamlib/repo_interface.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/obnamlib/repo_interface.py b/obnamlib/repo_interface.py
index a6ef6121..14ed3dc5 100644
--- a/obnamlib/repo_interface.py
+++ b/obnamlib/repo_interface.py
@@ -971,6 +971,8 @@ class RepositoryInterfaceTests(unittest.TestCase): # pragma: no cover
# Tests for repository level things.
+ repo = None
+
def test_has_format_attribute(self):
self.assertEqual(type(self.repo.format), str)