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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
cccd8037
authored
Oct 08, 2014
by
Paul Kilgo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up keys
parent
adcfcb93
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
django_sshkey/tests.py
+7
-0
No files found.
django_sshkey/tests.py
View file @
cccd8037
...
...
@@ -193,6 +193,11 @@ class ApplicationKeyTestCase(BaseTestCase):
cls
.
app_key1
=
TestApplicationKey
(
basekey
=
cls
.
key1
)
cls
.
app_key1
.
save
()
@classmethod
def
tearDownClass
(
cls
):
Key
.
objects
.
all
()
.
delete
()
super
(
ApplicationKeyTestCase
,
cls
)
.
tearDownClass
()
def
test_key_attribute
(
self
):
self
.
assertEqual
(
self
.
key1
.
key
,
self
.
app_key1
.
key
)
...
...
@@ -484,6 +489,8 @@ class KeyLookupTestCase(BaseTestCase):
def
tearDownClass
(
cls
):
settings
.
SSHKEY_AUTHORIZED_KEYS_OPTIONS
=
cls
.
original_options
User
.
objects
.
all
()
.
delete
()
Key
.
objects
.
all
()
.
delete
()
UserKey
.
objects
.
all
()
.
delete
()
super
(
KeyLookupTestCase
,
cls
)
.
tearDownClass
()
def
test_lookup_all
(
self
):
...
...
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