Skip to content

Commit

Permalink
Update tests/pyreverse/test_writer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas authored Dec 25, 2024
1 parent 01de52d commit 4b59ab8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/pyreverse/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,10 @@ def test_should_show_node_with_depth_limit(
"""Test that nodes are filtered correctly when depth limit is set.
Depth counting is zero-based, determined by number of dots in path:
- pkg -> depth 0 (0 dots)
- pkg.subpkg -> depth 1 (1 dot)
- pkg.subpkg.module -> depth 2 (2 dots)
- pkg.subpkg.module.submodule -> depth 3 (3 dots)
- 'pkg' -> depth 0 (0 dots)
- 'pkg.subpkg' -> depth 1 (1 dot)
- 'pkg.subpkg.module' -> depth 2 (2 dots)
- 'pkg.subpkg.module.submodule' -> depth 3 (3 dots)
"""
writer = DiagramWriter(default_config)
print("max_depth:", max_depth)
Expand Down

0 comments on commit 4b59ab8

Please sign in to comment.