13 lines
222 B
Python
13 lines
222 B
Python
|
import pytest
|
||
|
|
||
|
from pictures.models import Contact
|
||
|
|
||
|
|
||
|
@pytest.fixture
|
||
|
@pytest.mark.django_db
|
||
|
def contact():
|
||
|
return Contact.objects.create(
|
||
|
phone_number="+33611111111",
|
||
|
display_name="Test contact",
|
||
|
)
|