| Conditions | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | #!/usr/bin/env python3 |
||
| 55 | def test_reset_all_count_unsupported(self): |
||
| 56 | """Created a non supported validation summary and check |
||
| 57 | that exceptions are raised""" |
||
| 58 | |||
| 59 | # TODO: type should be an enum value so this test should be removed |
||
| 60 | vs_test = ValidationSummary(type="test", all_count=99) |
||
| 61 | self.assertRaisesMessage( |
||
| 62 | Exception, |
||
| 63 | "Unknown type 'test'", |
||
| 64 | vs_test.reset_all_count) |
||
| 65 |