Test with custom max_args parameter.
(self)
| 95 | assert "optional=None" in result |
| 96 | |
| 97 | def test_custom_max_args(self): |
| 98 | """Test with custom max_args parameter.""" |
| 99 | args = {"a": "1", "b": "2", "c": "3"} |
| 100 | result = format_args_preview(args, max_args=3) |
| 101 | |
| 102 | # All 3 should be shown |
| 103 | assert "a=1" in result |
| 104 | assert "b=2" in result |
| 105 | assert "c=3" in result |
| 106 | assert "more" not in result |
| 107 | |
| 108 | def test_custom_max_len(self): |
| 109 | """Test with custom max_len parameter.""" |
nothing calls this directly
no test coverage detected