()
| 306 | |
| 307 | |
| 308 | def test_pattern_fix_repeating_arguments(): |
| 309 | assert Option('-a').fix_repeating_arguments() == Option('-a') |
| 310 | assert Argument('N', None).fix_repeating_arguments() == Argument('N', None) |
| 311 | assert Required(Argument('N'), |
| 312 | Argument('N')).fix_repeating_arguments() == \ |
| 313 | Required(Argument('N', []), Argument('N', [])) |
| 314 | assert Either(Argument('N'), |
| 315 | OneOrMore(Argument('N'))).fix() == \ |
| 316 | Either(Argument('N', []), OneOrMore(Argument('N', []))) |
| 317 | |
| 318 | |
| 319 | def test_set(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…