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
c1bf0c00
Commit
c1bf0c00
authored
Jan 30, 2018
by
Adrien Dorsaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v2: account key rollover test update it's dependance on account deactivate (not working currently)
parent
863c5f4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/test_acme_account_rollover.py
tests/test_acme_account_rollover.py
+3
-3
No files found.
tests/test_acme_account_rollover.py
View file @
c1bf0c00
import
unittest
,
os
import
acme_dns_tiny
from
tests.config_factory
import
generate_acme_account_rollover_config
from
tools.acme_account_de
lete
import
account_dele
te
from
tools.acme_account_de
activate
import
account_deactiva
te
import
tools.acme_account_rollover
ACMEDirectory
=
os
.
getenv
(
"GITLABCI_ACMEDIRECTORY"
,
"https://acme-staging.api.letsencrypt.org/directory"
)
...
...
@@ -17,8 +17,8 @@ class TestACMEAccountRollover(unittest.TestCase):
# To clean ACME staging server and close correctly temporary files
@
classmethod
def
tearDownClass
(
self
):
# de
le
te account key registration at end of tests
account_de
le
te
(
self
.
configs
[
"newaccountkey"
].
name
,
ACMEDirectory
)
# de
activa
te account key registration at end of tests
account_de
activa
te
(
self
.
configs
[
"newaccountkey"
].
name
,
ACMEDirectory
)
# close temp files correctly
for
tmpfile
in
self
.
configs
:
self
.
configs
[
tmpfile
].
close
()
...
...
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