| Conditions | 4 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # pylint: disable=no-self-use |
||
| 14 | def test_create(self, image_service): |
||
| 15 | image = image_service.create(self.mock_template, self.mock_text) |
||
| 16 | |||
| 17 | assert image_service.image_store.create.called_once_with( |
||
| 18 | self.mock_image) |
||
| 19 | |||
| 20 | assert image.template is self.mock_image.template |
||
| 21 | assert image.text is self.mock_image.text |
||
| 22 |