Commit 36ca9c3
committed
tests: construct valid InputRequiredResult in discriminator test; co-locate validator test
The discriminator-dump test was building a bare InputRequiredResult(), which
the at-least-one-of validator now (correctly) rejects. Construct the minimal
valid instance instead. Move the validator test alongside it in
tests/test_types.py and drop the separate file.1 parent 682b788 commit 36ca9c3
2 files changed
Lines changed: 11 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
436 | 437 | | |
437 | 438 | | |
438 | 439 | | |
439 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
This file was deleted.
0 commit comments