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
6b454a54
Commit
6b454a54
authored
Jun 01, 2020
by
Adrien Dorsaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: acme_dns_tiny: fix tearDown clean configuration files
parent
a872cd75
Pipeline
#266
failed with stages
in 10 minutes and 14 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
tests/staging_test_acme_dns_tiny.py
tests/staging_test_acme_dns_tiny.py
+2
-2
tests/unit_test_acme_dns_tiny.py
tests/unit_test_acme_dns_tiny.py
+2
-2
No files found.
tests/staging_test_acme_dns_tiny.py
View file @
6b454a54
...
...
@@ -42,7 +42,7 @@ class TestACMEDNSTiny(unittest.TestCase):
# close temp files correctly
for
conffile
in
cls
.
configs
:
parser
=
configparser
.
ConfigParser
()
parser
.
read
(
c
onffile
)
parser
.
read
(
c
ls
.
configs
[
conffile
]
)
try
:
os
.
remove
(
parser
[
"acmednstiny"
][
"AccountKeyFile"
])
except
:
...
...
@@ -58,7 +58,7 @@ class TestACMEDNSTiny(unittest.TestCase):
except
:
pass
try
:
os
.
remove
(
c
onffile
)
os
.
remove
(
c
ls
.
configs
[
conffile
]
)
except
:
pass
super
(
TestACMEDNSTiny
,
cls
).
tearDownClass
()
...
...
tests/unit_test_acme_dns_tiny.py
View file @
6b454a54
...
...
@@ -25,10 +25,10 @@ class TestACMEDNSTiny(unittest.TestCase):
# close temp files correctly
for
conffile
in
cls
.
configs
:
parser
=
configparser
.
ConfigParser
()
parser
.
read
(
c
onffile
)
parser
.
read
(
c
ls
.
configs
[
conffile
]
)
os
.
remove
(
parser
[
"acmednstiny"
][
"AccountKeyFile"
])
os
.
remove
(
parser
[
"acmednstiny"
][
"CSRFile"
])
os
.
remove
(
c
onffile
)
os
.
remove
(
c
ls
.
configs
[
conffile
]
)
super
(
TestACMEDNSTiny
,
cls
).
tearDownClass
()
...
...
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