aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'grumpy/testsuite/pkgmodel.py')
-rw-r--r--grumpy/testsuite/pkgmodel.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/grumpy/testsuite/pkgmodel.py b/grumpy/testsuite/pkgmodel.py
index 4154141..0c65c91 100644
--- a/grumpy/testsuite/pkgmodel.py
+++ b/grumpy/testsuite/pkgmodel.py
@@ -157,8 +157,6 @@ class PkgModelTestCase(GrumpyTestCase):
assert Developer.query.count() == 2
def test_package_rename(self):
- data = {}
- info = {'maintainers' : (), 'herds': ()}
with self.app.test_request_context():
self.make_package(self.get_pkg('sys-apps/action-1.0-r2', {}, {}))
assert Category.query.count() == 1
@@ -176,6 +174,7 @@ class PkgModelTestCase(GrumpyTestCase):
assert p == None
p = Package.query.filter_by(key='sys-fail/kala').first()
assert p != None
+ assert p.pkg == 'kala'
e = Ebuild.query.first()
assert e.cpv == 'sys-fail/kala-1.0-r2'