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
58c069db
Commit
58c069db
authored
May 29, 2020
by
Adrien Dorsaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
staging tests: update assert on log messages
parent
335c7d74
Pipeline
#259
failed with stages
in 2 minutes and 41 seconds
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tests/staging_test_acme_account_deactivate.py
tests/staging_test_acme_account_deactivate.py
+1
-1
tests/staging_test_acme_account_rollover.py
tests/staging_test_acme_account_rollover.py
+1
-1
No files found.
tests/staging_test_acme_account_deactivate.py
View file @
58c069db
...
...
@@ -50,7 +50,7 @@ class TestACMEAccountDeactivate(unittest.TestCase):
with
self
.
assertLogs
(
level
=
'INFO'
)
as
accountdeactivatelog
:
tools
.
acme_account_deactivate
.
main
([
"--account-key"
,
self
.
configs
[
'key'
],
"--acme-directory"
,
ACME_DIRECTORY
])
self
.
assertIn
(
"INFO:acme_account_deactivate:
Account key deactivated !
"
,
self
.
assertIn
(
"INFO:acme_account_deactivate:
The account has been deactivated.
"
,
accountdeactivatelog
.
output
)
if
__name__
==
"__main__"
:
...
...
tests/staging_test_acme_account_rollover.py
View file @
58c069db
...
...
@@ -53,7 +53,7 @@ class TestACMEAccountRollover(unittest.TestCase):
tools
.
acme_account_rollover
.
main
([
"--current"
,
self
.
configs
[
'old_account_key'
],
"--new"
,
self
.
configs
[
'new_account_key'
],
"--acme-directory"
,
ACME_DIRECTORY
])
self
.
assertIn
(
"INFO:acme_account_rollover:
Account keys rolled over !
"
,
self
.
assertIn
(
"INFO:acme_account_rollover:
Keys rolled over.
"
,
accountrolloverlog
.
output
)
if
__name__
==
"__main__"
:
...
...
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