Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.libnetworkcache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
slapos.libnetworkcache
Commits
249aec4e
Commit
249aec4e
authored
Aug 24, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reflect reality in test names.
parent
9a6365ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
slapos/libnetworkcachetests.py
slapos/libnetworkcachetests.py
+4
-4
No files found.
slapos/libnetworkcachetests.py
View file @
249aec4e
...
...
@@ -457,9 +457,9 @@ class TestNetworkcacheClient(LibNetworkCacheMixin):
signature_private_key_file
=
self
.
signature_private_key_file
)
self
.
assertNotEquals
(
''
,
nc
.
_getSignatureString
())
def
test_verification_without_signature_certificate_
file_
list
(
self
):
def
test_verification_without_signature_certificate_list
(
self
):
"""
Without the signature certificate
file
list it is not possible to
Without the signature certificate list it is not possible to
verify if the signature if trusted or not.
So, the _verifySignatureInCertificateList should return False.
"""
...
...
@@ -470,9 +470,9 @@ class TestNetworkcacheClient(LibNetworkCacheMixin):
signature_string
=
nc
.
_getSignatureString
()
self
.
assertFalse
(
nc
.
_verifySignatureInCertificateList
(
signature_string
))
def
test_verification_with_signature_certificate_
file_
list
(
self
):
def
test_verification_with_signature_certificate_list
(
self
):
"""
With the signature certificate
file
list it is possible to
With the signature certificate list it is possible to
verify if the signature if trusted or not.
So, the _verifySignatureInCertificateList should return True
...
...
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