Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas authored Apr 2, 2023
1 parent 701ddaf commit 26a2884
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/pyreverse/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,10 @@ def test_color_for_stdlib_module(default_config: PyreverseConfig) -> None:
assert writer.get_shape_color(obj) == "grey"


# test to check the names of the generated files are corrected
# when using an incorrect character like "/" in the package name
def test_package_name_with_slash(default_config: PyreverseConfig) -> None:
"""Test to check the names of the generated files are corrected
when using an incorrect character like "/" in the package name.
"""
writer = DiagramWriter(default_config)
obj = Mock()

Expand Down

0 comments on commit 26a2884

Please sign in to comment.