Commit 0eefdd33 authored by Łukasz Nowak's avatar Łukasz Nowak

Fix "software/caddy-frontend/test: open files in context manager to silent ResourceWarning"

Fixed indentation.
parent 05e4fbd2
......@@ -2061,7 +2061,7 @@ class TestSlave(SlaveHttpFrontendTestCase, TestDataMixin):
# we trust monitor stack being tested in proper place and it is too hard
# to have working monitor with local proxy
with open(os.path.join(
partition_path, 'etc', 'httpd-cors.cfg')) as fh:
partition_path, 'etc', 'httpd-cors.cfg')) as fh:
self.assertTestData(fh.read().strip())
def test_node_information_json(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment