From 6861f4699111d740e14af3d85aae952ed73651d1 Mon Sep 17 00:00:00 2001 From: Daniel Seichter Date: Sun, 22 Dec 2024 21:50:44 +0100 Subject: [PATCH] Fix pep8 findings of unittest --- test/__init__.py | 4 ++-- test/test_validate_bzst.py | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/test/__init__.py b/test/__init__.py index 315e00f..b9fa92b 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -2,6 +2,6 @@ import sys PROJECT_PATH = os.getcwd() SOURCE_PATH = os.path.join( - PROJECT_PATH,"src" + PROJECT_PATH, "src" ) -sys.path.append(SOURCE_PATH) \ No newline at end of file +sys.path.append(SOURCE_PATH) diff --git a/test/test_validate_bzst.py b/test/test_validate_bzst.py index 458f561..6d6b5c5 100644 --- a/test/test_validate_bzst.py +++ b/test/test_validate_bzst.py @@ -2,6 +2,7 @@ from xml.dom import minidom from validate_bzst import parse_response + class TestValidateBZST(unittest.TestCase): def test_parse_response(self): @@ -39,5 +40,6 @@ def test_parse_response(self): # Assert the result self.assertEqual(result, expected_result) + if __name__ == '__main__': - unittest.main() \ No newline at end of file + unittest.main()