core/domain/suggestion_registry_test.py
File suggestion_registry_test.py
has 3714 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# Copyright 2018 The Oppia Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
SuggestionTranslateContentUnitTests
has 35 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SuggestionTranslateContentUnitTests(test_utils.GenericTestBase):
"""Tests for the SuggestionEditStateContent class."""
AUTHOR_EMAIL: Final = 'author@example.com'
REVIEWER_EMAIL: Final = 'reviewer@example.com'
SuggestionAddQuestionTest
has 33 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SuggestionAddQuestionTest(test_utils.GenericTestBase):
"""Tests for the SuggestionAddQuestion class."""
AUTHOR_EMAIL: Final = 'author@example.com'
REVIEWER_EMAIL: Final = 'reviewer@example.com'
SuggestionEditStateContentUnitTests
has 32 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SuggestionEditStateContentUnitTests(test_utils.GenericTestBase):
"""Tests for the SuggestionEditStateContent class."""
AUTHOR_EMAIL: Final = 'author@example.com'
REVIEWER_EMAIL: Final = 'reviewer@example.com'
CommunityContributionStatsUnitTests
has 32 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class CommunityContributionStatsUnitTests(test_utils.GenericTestBase):
"""Tests for the CommunityContributionStats class."""
translation_reviewer_counts_by_lang_code: Dict[str, int] = {
'hi': 0,