aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-07-17 17:38:10 +0200
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-07-17 17:38:10 +0200
commit2789f0da5f054918b46d1e34b67d7cca77f8ffab (patch)
tree51944cda1238c38459fc4c772f5f56948ed3d32c /tests
parentload remote file functionality added (diff)
downloadg-sorcery-2789f0da5f054918b46d1e34b67d7cca77f8ffab.tar.gz
g-sorcery-2789f0da5f054918b46d1e34b67d7cca77f8ffab.tar.bz2
g-sorcery-2789f0da5f054918b46d1e34b67d7cca77f8ffab.zip
tests/test_elpa_db: test fixed
Diffstat (limited to 'tests')
-rw-r--r--tests/test_elpa_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_elpa_db.py b/tests/test_elpa_db.py
index 3df86e1..cd6ebc2 100644
--- a/tests/test_elpa_db.py
+++ b/tests/test_elpa_db.py
@@ -104,7 +104,7 @@ class TestElpaDB(BaseTest):
def test_generate(self):
edb = elpa_db.ElpaDB(os.path.join(self.tempdir.name, 'db'),
repo_uri = 'http://127.0.0.1:8080')
- self.assertRaises(exceptions.SyncError, edb.generate)
+ self.assertRaises(exceptions.DownloadingError, edb.generate)
fill_database(edb, packages, self.tempdir.name)