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
df52f3c9
Commit
df52f3c9
authored
Feb 25, 2018
by
Adrien Dorsaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v2: fix set up for account key rollover test
parent
439fd7f3
Pipeline
#165
failed with stage
in 6 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/config_factory.py
tests/config_factory.py
+3
-3
No files found.
tests/config_factory.py
View file @
df52f3c9
...
...
@@ -141,13 +141,13 @@ def generate_acme_account_rollover_config():
config
[
"DNS"
][
"Port"
]
=
DNSPORT
config
[
"DNS"
][
"Zone"
]
=
DNSZONE
deactivate
Config
=
NamedTemporaryFile
()
with
open
(
deactivate
Config
.
name
,
'w'
)
as
configfile
:
rollover
Config
=
NamedTemporaryFile
()
with
open
(
rollover
Config
.
name
,
'w'
)
as
configfile
:
config
.
write
(
configfile
)
return
{
# config and keys (returned to keep files on system)
"config"
:
c
onfig
,
"config"
:
rolloverC
onfig
,
"oldaccountkey"
:
old_account_key
,
"newaccountkey"
:
new_account_key
}
...
...
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