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
Pipeline #23319 failed with stage
...@@ -2061,7 +2061,7 @@ class TestSlave(SlaveHttpFrontendTestCase, TestDataMixin): ...@@ -2061,7 +2061,7 @@ class TestSlave(SlaveHttpFrontendTestCase, TestDataMixin):
# we trust monitor stack being tested in proper place and it is too hard # we trust monitor stack being tested in proper place and it is too hard
# to have working monitor with local proxy # to have working monitor with local proxy
with open(os.path.join( 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()) self.assertTestData(fh.read().strip())
def test_node_information_json(self): 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