Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
54e26af7
Commit
54e26af7
authored
Oct 02, 2023
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_certificate_authority: (test) Index to ensure the connector is cataloged
parent
ac504996
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
bt5/erp5_certificate_authority/TestTemplateItem/portal_components/test.erp5.testCertificateAuthorityCaucaseConnector.py
...nts/test.erp5.testCertificateAuthorityCaucaseConnector.py
+3
-2
bt5/erp5_certificate_authority/TestTemplateItem/portal_components/test.erp5.testCertificateAuthorityPerson.py
...al_components/test.erp5.testCertificateAuthorityPerson.py
+1
-0
No files found.
bt5/erp5_certificate_authority/TestTemplateItem/portal_components/test.erp5.testCertificateAuthorityCaucaseConnector.py
View file @
54e26af7
...
...
@@ -27,7 +27,7 @@
#
##############################################################################
from
Products.ERP5Type.tests.ERP5Type
TestCase
import
ERP5Typ
eTestCase
from
Products.ERP5Type.tests.ERP5Type
CaucaseTestCase
import
ERP5TypeCaucas
eTestCase
from
cryptography
import
x509
from
cryptography.hazmat.backends
import
default_backend
...
...
@@ -35,11 +35,12 @@ from cryptography.hazmat.primitives import serialization
from
caucase.client
import
CaucaseHTTPError
class
TestCertificateAuthorityCaucaseConnector
(
ERP5TypeTestCase
):
class
TestCertificateAuthorityCaucaseConnector
(
ERP5Type
Caucase
TestCase
):
def
afterSetUp
(
self
):
self
.
setUpCaucase
()
self
.
caucase_connector
=
self
.
portal
.
portal_web_services
.
test_caucase_connector
self
.
tic
()
def
getBusinessTemplateList
(
self
):
return
(
'erp5_base'
,
'erp5_web_service'
,
'erp5_certificate_authority'
)
...
...
bt5/erp5_certificate_authority/TestTemplateItem/portal_components/test.erp5.testCertificateAuthorityPerson.py
View file @
54e26af7
...
...
@@ -50,6 +50,7 @@ class TestPersonCertificateLogin(ERP5TypeCaucaseTestCase):
role_base_category_script_id
=
"ERP5Type_getSecurityCategoryFromSelf"
,
role_base_category
=
"group"
,
portal_type
=
"Role Information"
)
self
.
tic
()
def
getBusinessTemplateList
(
self
):
return
(
'erp5_base'
,
'erp5_web_service'
,
'erp5_certificate_authority'
)
...
...
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