Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
django-sshkey
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
62337c53
authored
Oct 08, 2014
by
Paul Kilgo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tear down in user key form test case
parent
741bc86c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
django_sshkey/tests.py
+5
-0
No files found.
django_sshkey/tests.py
View file @
62337c53
...
@@ -582,6 +582,11 @@ class UserKeyFormTestCase(BaseTestCase):
...
@@ -582,6 +582,11 @@ class UserKeyFormTestCase(BaseTestCase):
cls
.
key1_path
=
os
.
path
.
join
(
cls
.
key_dir
,
'key1'
)
cls
.
key1_path
=
os
.
path
.
join
(
cls
.
key_dir
,
'key1'
)
ssh_keygen
(
comment
=
'comment'
,
file
=
cls
.
key1_path
)
ssh_keygen
(
comment
=
'comment'
,
file
=
cls
.
key1_path
)
@classmethod
def
tearDownClass
(
cls
):
cls
.
user1
.
delete
()
super
(
UserKeyFormTestCase
,
cls
)
.
tearDownClass
()
def
test_save_without_name
(
self
):
def
test_save_without_name
(
self
):
instance
=
UserKey
(
user
=
self
.
user1
)
instance
=
UserKey
(
user
=
self
.
user1
)
post
=
{
post
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment