Skip to content

Commit

Permalink
Fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
zrgt committed Oct 19, 2023
1 parent e0dc2df commit ed91ebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/compliance_tool/test_compliance_check_aasx.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def setUpClass(cls):
script_dir = os.path.dirname(__file__)
for i in cls.AASX_FILES:
cls._zip_directory(os.path.join(script_dir, "files", i),
os.path.join(script_dir, "files", i.rstrip("_aasx") + ".aasx"))
os.path.join(script_dir, "files",
i.rstrip("_aasx") + ".aasx"))
except Exception as e:
cls.tearDownClass()
raise e
Expand All @@ -36,7 +37,6 @@ def tearDownClass(cls):
for i in cls.AASX_FILES:
os.remove(os.path.join(os.path.dirname(__file__), "files", i.rstrip("_aasx") + ".aasx"))


@classmethod
def _zip_directory(cls, directory_path, zip_file_path):
"""Zip a directory recursively."""
Expand Down

0 comments on commit ed91ebb

Please sign in to comment.