Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
16
Merge Requests
16
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
534ea195
Commit
534ea195
authored
Aug 29, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark future obsoletion.
parent
aaf2e015
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+5
-0
No files found.
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
534ea195
...
@@ -8502,6 +8502,7 @@ class TestVifibSlapWebService(testVifibMixin):
...
@@ -8502,6 +8502,7 @@ class TestVifibSlapWebService(testVifibMixin):
def
test_person_request_new_certificate
(
self
):
def
test_person_request_new_certificate
(
self
):
"""Checks that Person is capable to ask for new certificate"""
"""Checks that Person is capable to ask for new certificate"""
# XXX: Will be obsoleted by Products.ERP5.tests.testCertificateAuthority
self
.
login
()
self
.
login
()
self
.
portal
.
portal_certificate_authority
.
_checkCertificateAuthority
()
self
.
portal
.
portal_certificate_authority
.
_checkCertificateAuthority
()
person
=
self
.
portal
.
ERP5Site_getAuthenticatedMemberPersonValue
(
person
=
self
.
portal
.
ERP5Site_getAuthenticatedMemberPersonValue
(
...
@@ -8513,6 +8514,7 @@ class TestVifibSlapWebService(testVifibMixin):
...
@@ -8513,6 +8514,7 @@ class TestVifibSlapWebService(testVifibMixin):
def
test_person_request_revoke_certificate
(
self
):
def
test_person_request_revoke_certificate
(
self
):
"""Chekcs that Person is capable to ask for revocation of certificate"""
"""Chekcs that Person is capable to ask for revocation of certificate"""
# XXX: Will be obsoleted by Products.ERP5.tests.testCertificateAuthority
self
.
login
()
self
.
login
()
self
.
portal
.
portal_certificate_authority
.
_checkCertificateAuthority
()
self
.
portal
.
portal_certificate_authority
.
_checkCertificateAuthority
()
person
=
self
.
portal
.
ERP5Site_getAuthenticatedMemberPersonValue
(
person
=
self
.
portal
.
ERP5Site_getAuthenticatedMemberPersonValue
(
...
@@ -8526,6 +8528,7 @@ class TestVifibSlapWebService(testVifibMixin):
...
@@ -8526,6 +8528,7 @@ class TestVifibSlapWebService(testVifibMixin):
def
test_person_request_new_certificate_twice
(
self
):
def
test_person_request_new_certificate_twice
(
self
):
"""Checks that if Person asks twice for a certificate the next call
"""Checks that if Person asks twice for a certificate the next call
fails"""
fails"""
# XXX: Will be obsoleted by Products.ERP5.tests.testCertificateAuthority
self
.
login
()
self
.
login
()
self
.
portal
.
portal_certificate_authority
.
_checkCertificateAuthority
()
self
.
portal
.
portal_certificate_authority
.
_checkCertificateAuthority
()
person
=
self
.
portal
.
ERP5Site_getAuthenticatedMemberPersonValue
(
person
=
self
.
portal
.
ERP5Site_getAuthenticatedMemberPersonValue
(
...
@@ -8539,6 +8542,7 @@ class TestVifibSlapWebService(testVifibMixin):
...
@@ -8539,6 +8542,7 @@ class TestVifibSlapWebService(testVifibMixin):
def
test_person_request_certificate_for_another_person
(
self
):
def
test_person_request_certificate_for_another_person
(
self
):
"""Checks that if Person tries to request ceritifcate for someone else it
"""Checks that if Person tries to request ceritifcate for someone else it
will fail"""
will fail"""
# XXX: Will be obsoleted by Products.ERP5.tests.testCertificateAuthority
from
AccessControl
import
Unauthorized
from
AccessControl
import
Unauthorized
self
.
login
()
self
.
login
()
self
.
portal
.
portal_certificate_authority
.
_checkCertificateAuthority
()
self
.
portal
.
portal_certificate_authority
.
_checkCertificateAuthority
()
...
@@ -8551,6 +8555,7 @@ class TestVifibSlapWebService(testVifibMixin):
...
@@ -8551,6 +8555,7 @@ class TestVifibSlapWebService(testVifibMixin):
def
test_person_request_revoke_certificate_for_another_person
(
self
):
def
test_person_request_revoke_certificate_for_another_person
(
self
):
"""Checks that if Person tries to request ceritifcate for someone else it
"""Checks that if Person tries to request ceritifcate for someone else it
will fail"""
will fail"""
# XXX: Will be obsoleted by Products.ERP5.tests.testCertificateAuthority
from
AccessControl
import
Unauthorized
from
AccessControl
import
Unauthorized
self
.
login
()
self
.
login
()
self
.
portal
.
portal_certificate_authority
.
_checkCertificateAuthority
()
self
.
portal
.
portal_certificate_authority
.
_checkCertificateAuthority
()
...
...
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