diff --git a/posts/tests/views/test_statics_list_view.py b/posts/tests/views/test_statics_list_view.py index be321e4..5ba61ac 100644 --- a/posts/tests/views/test_statics_list_view.py +++ b/posts/tests/views/test_statics_list_view.py @@ -16,6 +16,7 @@ def setUpTestData(cls): cls.users = User.objects.create_user( email=f"user{i}@example.com", password="testpassword", + username=f"testuser{i}", ) cls.posts = Post.objects.create( post_type="facebook",