Skip to content

Commit

Permalink
Fix pep8 findings of unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
dseichter committed Dec 22, 2024
1 parent c5a5484 commit 6861f46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
sys.path.append(SOURCE_PATH)
4 changes: 3 additions & 1 deletion test/test_validate_bzst.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from xml.dom import minidom
from validate_bzst import parse_response


class TestValidateBZST(unittest.TestCase):

def test_parse_response(self):
Expand Down Expand Up @@ -39,5 +40,6 @@ def test_parse_response(self):
# Assert the result
self.assertEqual(result, expected_result)


if __name__ == '__main__':
unittest.main()
unittest.main()

0 comments on commit 6861f46

Please sign in to comment.