Commit 62337c53 by Paul Kilgo

fix tear down in user key form test case

parent 741bc86c
......@@ -582,6 +582,11 @@ class UserKeyFormTestCase(BaseTestCase):
cls.key1_path = os.path.join(cls.key_dir, 'key1')
ssh_keygen(comment='comment', file=cls.key1_path)
def tearDownClass(cls):
super(UserKeyFormTestCase, cls).tearDownClass()
def test_save_without_name(self):
instance = UserKey(user=self.user1)
post = {
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