| Conditions | 1 |
| Total Lines | 5 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import pytest |
||
| 8 | def test_django_models_can_be_created(django_integration: DjangoIntegration): |
||
| 9 | models = django_integration._container.resolve(DjangoModel[FakeDjangoModel]) |
||
| 10 | new_model_instance = models.new(first=1, second=2) |
||
| 11 | assert isinstance(new_model_instance, FakeDjangoModel) |
||
| 12 | assert new_model_instance.data == {"first": 1, "second": 2} |
||
| 13 | |||
| 33 |