Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
acme-dns-tiny
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Adrien Dorsaz
acme-dns-tiny
Commits
36a6c6a9
Commit
36a6c6a9
authored
Mar 18, 2018
by
Adrien Dorsaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test-acme-dns-tiny: fix typo and remove correctly option from config object
parent
3330fc7e
Pipeline
#185
failed with stage
in 17 minutes and 36 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tests/config_factory.py
tests/config_factory.py
+1
-1
tests/test_acme_dns_tiny.py
tests/test_acme_dns_tiny.py
+1
-1
No files found.
tests/config_factory.py
View file @
36a6c6a9
...
...
@@ -91,7 +91,7 @@ def generate_acme_dns_tiny_config():
config
.
read
(
goodCName
)
goodCNameWithoutCSR
=
NamedTemporaryFile
(
delete
=
False
)
del
config
[
"acmednstiny"
][
"CSRFile"
]
config
.
remove_option
(
"acmednstiny"
,
"CSRFile"
)
with
open
(
goodCNameWithoutCSR
.
name
,
'w'
)
as
configfile
:
config
.
write
(
configfile
)
...
...
tests/test_acme_dns_tiny.py
View file @
36a6c6a9
...
...
@@ -131,7 +131,7 @@ class TestACMEDNSTiny(unittest.TestCase):
def
test_success_cli_with_csr_option
(
self
):
""" Successfully issue a certificate via command line interface using CSR option"""
certout
,
err
=
subprocess
.
Popen
([
"python3"
,
"acme_dns_tiny.py"
,
[
'--csr'
,
se
fl
.
configs
[
'cnameCSR'
],
self
.
configs
[
'goodCNameWithoutCSR'
]]
"python3"
,
"acme_dns_tiny.py"
,
[
'--csr'
,
se
lf
.
configs
[
'cnameCSR'
],
self
.
configs
[
'goodCNameWithoutCSR'
]]
],
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
PIPE
).
communicate
()
certchain
=
certout
.
decode
(
"utf8"
)
...
...
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