| Conditions | 3 |
| Total Lines | 8 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | #!/usr/bin/env python |
||
| 12 | def test_positional_args(self): |
||
|
|
|||
| 13 | with self.assertRaises(ValueError): |
||
| 14 | with tempfile.NamedTemporaryFile() as f: |
||
| 15 | Subject(Image(f.name, INTENSITY)) |
||
| 16 | |||
| 17 | def test_input_dict(self): |
||
| 18 | with tempfile.NamedTemporaryFile() as f: |
||
| 19 | input_dict = {'image': Image(f.name, INTENSITY)} |
||
| 20 | Subject(**input_dict) |
||
| 21 |