Commit 8ab1eb6c by Paul Kilgo

fix instancing of Key in test_delete

parent 53882df3
......@@ -371,7 +371,7 @@ class UserKeyTestCase(BaseTestCase):
self.assertRaises(ValidationError, key2.full_clean)
def test_delete(self):
basekey = Key(key=open(self.key3_path + '.pub').read())
basekey = UserKey.base(key=open(self.key3_path + '.pub').read())
basekey.full_clean()
basekey.save()
pk = basekey.pk
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment