Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nirina Malard
slapos
Commits
c0a525d7
Commit
c0a525d7
authored
Jun 15, 2020
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/cloudooo: test with ca-cert and crl parameters.
parent
322181fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
0 deletions
+44
-0
software/cloudooo/test/dummy.ca.crt
software/cloudooo/test/dummy.ca.crt
+22
-0
software/cloudooo/test/dummy.crl.pem
software/cloudooo/test/dummy.crl.pem
+11
-0
software/cloudooo/test/test.py
software/cloudooo/test/test.py
+11
-0
No files found.
software/cloudooo/test/dummy.ca.crt
0 → 100644
View file @
c0a525d7
-----BEGIN CERTIFICATE-----
MIIDqDCCApCgAwIBAgIUD8GrzMKJGux3JsAZZMOYG4538FgwDQYJKoZIhvcNAQEL
BQAwNDEyMDAGA1UEAwwpQ2F1Y2FzZSBDQVMgYXQgaHR0cDovLzEyNy4wLjAuMTo0
NjgyMy9jYXMwHhcNMjAwNjE1MDgzOTE5WhcNMjAwOTE2MDgzOTE5WjAWMRQwEgYD
VQQDDAtleGFtcGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
AM7RHB9k0SyXles2UvcRvnWF5r/d4I1cOUWDbbUchIdyetu8yu25TcW5U+lvibC3
y++vQ3NwRaSjLa6hPZ2QsJ4z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T
IGF0IGh0dHA6Ly8xMjcuMC4wLjE6NDY4MjMvY2FzFw0yMDA2MTUwODM5MTlaFw0y
MDA3MTYwMTEyNTVaoA4wDDAKBgNVHRQEAwIBATANBgkqhkiG9w0BAQsFAAOCAQEA
VyzweX8oUZOdZBTFyCOivQofzktsFFvWbRf+7Se9G2ggTBicD5VNfSV9LnuHi0pb
7JSl7BoOPUhPKTz+tP4kRn3ASCd0XbgCHQWLTWphWD67YizOuckTPyfku5A7c7kN
7D7M8qaBGGFgvQT3qWggwRCXSNo+jO4mQcGsxfnxoNCMXSBowjnuX18mv/J4Dr4a
32gD6Cbe+YHECSF2Azhs+w4SO4BcDllrsc9sVd0rM8WmLtPxUxYHgOBySOFIQPav
zzlo46fJSIjpjcLDjSqxY+8ErQ3SDOR8sJHXxc28bcVbZyDxLpiYUW+RV37NyJOZ
nIYbxIxAXv3DGAVbn46pYA==
-----END X509 CRL-----
software/cloudooo/test/test.py
View file @
c0a525d7
...
...
@@ -88,6 +88,17 @@ class HTMLtoPDFConversionFontTestMixin:
"""Convert the HTML source to pdf bytes.
"""
@
classmethod
def
getInstanceParameterDict
(
cls
):
return
{
'_'
:
json
.
dumps
({
'ssl'
:
{
'ca-cert'
:
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'dummy.ca.crt'
)).
read
(),
'crl'
:
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'dummy.crl.pem'
)).
read
(),
},
})
}
def
setUp
(
self
):
self
.
url
=
json
.
loads
(
self
.
computer_partition
.
getConnectionParameterDict
()[
"_"
])[
'cloudooo'
]
...
...
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