aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-07-04 00:36:49 +0200
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-07-04 00:36:49 +0200
commit1cc214be6a43cf6c68353650bf6938756366b05e (patch)
tree39464f5610d54af2c3bb9a78e8746c54e57150b4 /tests
parentg_sorcery/metadata: fix (diff)
downloadg-sorcery-1cc214be6a43cf6c68353650bf6938756366b05e.tar.gz
g-sorcery-1cc214be6a43cf6c68353650bf6938756366b05e.tar.bz2
g-sorcery-1cc214be6a43cf6c68353650bf6938756366b05e.zip
g_sorcery/package_db: hiding pylint swearing
Diffstat (limited to 'tests')
-rw-r--r--tests/test_package_db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_package_db.py b/tests/test_package_db.py
index 0f82129..d491152 100644
--- a/tests/test_package_db.py
+++ b/tests/test_package_db.py
@@ -58,7 +58,7 @@ class TestDummyDB(BaseTest):
db.generate()
db2 = DummyDB(self.tempdir.name, self.packages)
db2.read()
- self.assertEqual(db.db, db2.db)
+ self.assertEqual(db.database, db2.database)
def test_list_categories(self):
db = DummyDB(self.tempdir.name, self.packages)
@@ -107,7 +107,7 @@ class TestDummyDB(BaseTest):
os.chdir(prev)
- self.assertEqual(src_db.db, db.db)
+ self.assertEqual(src_db.database, db.database)
def test_sync_fail(self):
db = DummyDB(os.path.join(self.tempdir.name, 'testdb'), self.packages)