fdeec6a8df347b5e1ec0a5f7e8685b4ecbe23def,app/tests/verification_tests/test_forms.py,TestConfirmEmailForm,test_user_can_not_verify_other_token,#TestConfirmEmailForm#,99

Before Change


        )
        v1 = VerificationFactory(user=u1)

        u2 = UserenaSignup.objects.create_user(
            "userena2", "userena2@google.com", "testpassword", active=True
        )
        VerificationFactory(user=u2)

        form = ConfirmEmailForm(
            user=u2, token=v1.token, data={"token": v1.token},

After Change


        assert form.is_valid()

    def test_user_can_not_verify_other_token(self):
        u1 = UserFactory()
        v1 = VerificationFactory(user=u1)

        u2 = UserFactory()
        VerificationFactory(user=u2)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 6

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/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/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/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/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/groups_tests/test_views.py
Class Name: TestAutocompleteViews
Method Name: test_autocomplete_filter_options