Skip to content

Commit

Permalink
Disabled pylint too many args
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored and Anas12091101 committed Nov 21, 2023
1 parent e4b65e2 commit 6a4849f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions websites/api_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,13 +482,13 @@ def test_update_unpublished_website_status(status, version):
else:
assert getattr(website, publish_date_field) is None

#pylint: disable=too-many-arguments

@pytest.mark.parametrize("has_missing_ids", [True, False])
@pytest.mark.parametrize("has_missing_captions", [True, False])
@pytest.mark.parametrize("has_truncatable_text", [True, False])
@pytest.mark.parametrize("is_draft", [True, False])
@pytest.mark.parametrize("metadata", [EXAMPLE_METADATA, {}])
def test_get_content_warnings(
def test_get_content_warnings( # pylint: disable=too-many-arguments # noqa: PLR0913
mocker,
has_missing_ids,
has_missing_captions,
Expand All @@ -502,7 +502,6 @@ def test_get_content_warnings(
has_site_metadata and WebsiteContentFactory.create(
type="sitemetadata", website=website, metadata=metadata
)
# website.has_site_metadata = has_site_metadata
video_content = WebsiteContentFactory.create_batch(3, website=website)
no_yt_ids = video_content[0:2] if has_missing_ids else []
no_caps = video_content[1:3] if has_missing_captions else []
Expand Down

0 comments on commit 6a4849f

Please sign in to comment.