Skip to content

Commit

Permalink
Check for class name
Browse files Browse the repository at this point in the history
  • Loading branch information
tisnik committed Mar 21, 2019
1 parent 519c8e0 commit 44b3cba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,5 +344,5 @@ def test_get_parser_from_ecosystem():
"""Test the function get_parser_from_ecosystem()."""
assert get_parser_from_ecosystem(None) is None
assert get_parser_from_ecosystem("unknown") is None
assert get_parser_from_ecosystem("maven") == MavenParser
assert get_parser_from_ecosystem("npm") == NodeParser
assert get_parser_from_ecosystem("maven").__name__ == MavenParser.__name__
assert get_parser_from_ecosystem("npm").__name__ == NodeParser.__name__

0 comments on commit 44b3cba

Please sign in to comment.