fdeec6a8df347b5e1ec0a5f7e8685b4ecbe23def,app/tests/evaluation_tests/test_forms.py,TestSubmissionForm,test_user_with_verification,#TestSubmissionForm#Any#,94

Before Change



    @pytest.mark.parametrize("is_verified", (True, False))
    def test_user_with_verification(self, is_verified):
        call_command("check_permissions")
        user = UserenaSignup.objects.create_user(
            "userena", "userena@google.com", "testpassword", active=True
        )
        VerificationFactory(user=user, is_verified=is_verified)

After Change



    @pytest.mark.parametrize("is_verified", (True, False))
    def test_user_with_verification(self, is_verified):
        user = UserFactory()
        VerificationFactory(user=user, is_verified=is_verified)

        form = SubmissionForm(
            user=user, creator_must_be_verified=True, data={"creator": user}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 3

Instances


Project Name: comic/grand-challenge.org
Commit Name: fdeec6a8df347b5e1ec0a5f7e8685b4ecbe23def
Time: 2021-02-13
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/tests/evaluation_tests/test_forms.py
Class Name: TestSubmissionForm
Method Name: test_user_with_verification


Project Name: comic/grand-challenge.org
Commit Name: fdeec6a8df347b5e1ec0a5f7e8685b4ecbe23def
Time: 2021-02-13
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/tests/verification_tests/test_forms.py
Class Name: TestConfirmEmailForm
Method Name: test_user_can_not_verify_other_token


Project Name: comic/grand-challenge.org
Commit Name: fdeec6a8df347b5e1ec0a5f7e8685b4ecbe23def
Time: 2021-02-13
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/tests/groups_tests/test_views.py
Class Name: TestAutocompleteViews
Method Name: test_autocomplete_for_verified_email


Project Name: comic/grand-challenge.org
Commit Name: fdeec6a8df347b5e1ec0a5f7e8685b4ecbe23def
Time: 2021-02-13
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/tests/verification_tests/test_forms.py
Class Name: TestConfirmEmailForm
Method Name: test_user_can_verify


Project Name: comic/grand-challenge.org
Commit Name: fdeec6a8df347b5e1ec0a5f7e8685b4ecbe23def
Time: 2021-02-13
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/tests/verification_tests/test_forms.py
Class Name: TestVerificationForm
Method Name: test_can_only_create_one_validation


Project Name: comic/grand-challenge.org
Commit Name: fdeec6a8df347b5e1ec0a5f7e8685b4ecbe23def
Time: 2021-02-13
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/tests/verification_tests/test_forms.py
Class Name: TestVerificationForm
Method Name: test_cannot_make_validation_with_other_validation_email


Project Name: comic/grand-challenge.org
Commit Name: fdeec6a8df347b5e1ec0a5f7e8685b4ecbe23def
Time: 2021-02-13
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/tests/groups_tests/test_views.py
Class Name: TestAutocompleteViews
Method Name: test_autocomplete_filter_options