Skip to content

Commit

Permalink
refactor: tests for helper-script
Browse files Browse the repository at this point in the history
  • Loading branch information
peb-peb committed Jul 17, 2021
1 parent dd830a8 commit c48f3de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_helper_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ class TestHelperScript:
)
def test_parse_filename(self, filename, product_name, version_name):
hs = HelperScript(filename)
product, version = hs.parse_filename(filename)
assert product == product_name and version == version_name
assert (product_name, version_name) == hs.parse_filename(filename)

# @pytest.mark.parametrize("filename", [
# "bash-4.2.46-34.el7.x86_64.abc" # unsupported file type
Expand Down

0 comments on commit c48f3de

Please sign in to comment.