fix linting

This commit is contained in:
2025-09-10 12:33:33 +02:00
parent f5c04f9d58
commit f425673953
6 changed files with 29 additions and 30 deletions

View File

@@ -6,12 +6,11 @@ from profiles.models import Profile
@pytest.mark.django_db
def test_str_profile():
user = User.objects.create(
username = 'TestUser',
password = 'password',
username='TestUser',
password='password',
)
profile = Profile.objects.create(
user=user,
favorite_city="Paris",
)
assert str(profile) == "TestUser"