fix linting
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user