repo_id
stringclasses
400 values
commit_sha
stringclasses
400 values
commit_index
int32
0
951
in_repo_split
stringclasses
1 value
cross_repo_split
stringclasses
1 value
test_file
stringlengths
7
121
test_function
stringlengths
1
108
assertion_type
stringclasses
32 values
difficulty
stringclasses
8 values
context_lines
int32
3
600
prefix
large_stringlengths
44
113k
target
large_stringlengths
1
498
anchor_sha
stringclasses
400 values
anchor_index
int32
0
951
qna_source
stringclasses
1 value
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_login.py
test_archived_user_becomes_active_on_login
self.assertTrue
complex_expr
31
from django.contrib.auth import get_user_model from pytest import mark from .decorators import skipif_django_21 from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class LoginTestCaseMixin: def setUp(self): self.archived_user = self.register_user( e...
executed["token"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_login.py
test_archived_user_becomes_active_on_login
self.assertFalse
complex_expr
30
from django.contrib.auth import get_user_model from pytest import mark from .decorators import skipif_django_21 from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class LoginTestCaseMixin: def setUp(self): self.archived_user = self.register_user( e...
executed["errors"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_login.py
test_archived_user_becomes_active_on_login
self.assertTrue
complex_expr
29
from django.contrib.auth import get_user_model from pytest import mark from .decorators import skipif_django_21 from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class LoginTestCaseMixin: def setUp(self): self.archived_user = self.register_user( e...
executed["success"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_change.py
test_password_change
self.assertEqual
bool_literal
25
from django.contrib.auth import get_user_model from graphql_jwt.refresh_token.models import RefreshToken from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.utils import revoke_user_refresh_token from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylo...
True)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_change.py
test_password_change
self.assertEqual
none_literal
26
from django.contrib.auth import get_user_model from graphql_jwt.refresh_token.models import RefreshToken from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.utils import revoke_user_refresh_token from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylo...
None)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_change.py
test_mismatch_passwords
self.assertEqual
bool_literal
25
from django.contrib.auth import get_user_model from graphql_jwt.refresh_token.models import RefreshToken from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.utils import revoke_user_refresh_token from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylo...
False)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_change.py
test_revoke_refresh_tokens_on_password_change
self.assertFalse
complex_expr
24
from django.contrib.auth import get_user_model from graphql_jwt.refresh_token.models import RefreshToken from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.utils import revoke_user_refresh_token from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylo...
token.revoked)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_change.py
test_password_change
self.assertTrue
complex_expr
27
from django.contrib.auth import get_user_model from graphql_jwt.refresh_token.models import RefreshToken from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.utils import revoke_user_refresh_token from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylo...
executed["token"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_change.py
test_password_change
self.assertTrue
complex_expr
28
from django.contrib.auth import get_user_model from graphql_jwt.refresh_token.models import RefreshToken from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.utils import revoke_user_refresh_token from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylo...
executed["refreshToken"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_change.py
test_mismatch_passwords
self.assertTrue
complex_expr
26
from django.contrib.auth import get_user_model from graphql_jwt.refresh_token.models import RefreshToken from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.utils import revoke_user_refresh_token from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylo...
executed["errors"]["newPassword2"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_change.py
test_password_change
self.assertFalse
complex_expr
30
from django.contrib.auth import get_user_model from graphql_jwt.refresh_token.models import RefreshToken from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.utils import revoke_user_refresh_token from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylo...
self.old_pass == self.user.password)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_reset.py
test_reset_password
self.assertEqual
bool_literal
19
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylod class PasswordResetTestCaseMixin: def setUp(self): self.user1 = self.register_user( email=...
True)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_reset.py
test_reset_password
self.assertEqual
none_literal
20
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylod class PasswordResetTestCaseMixin: def setUp(self): self.user1 = self.register_user( email=...
None)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_reset.py
test_reset_password_invalid_form
self.assertEqual
bool_literal
19
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylod class PasswordResetTestCaseMixin: def setUp(self): self.user1 = self.register_user( email=...
False)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_reset.py
test_revoke_refresh_tokens_on_password_reset
self.assertFalse
complex_expr
20
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylod class PasswordResetTestCaseMixin: def setUp(self): self.user1 = self.register_user( email=...
token.revoked)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_reset.py
test_reset_password_invalid_form
self.assertTrue
complex_expr
20
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylod class PasswordResetTestCaseMixin: def setUp(self): self.user1 = self.register_user( email=...
executed["errors"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_reset.py
test_reset_password_invalid_token
self.assertTrue
complex_expr
19
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylod class PasswordResetTestCaseMixin: def setUp(self): self.user1 = self.register_user( email=...
executed["errors"]["nonFieldErrors"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_reset.py
test_reset_password
self.assertFalse
complex_expr
22
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylod class PasswordResetTestCaseMixin: def setUp(self): self.user1 = self.register_user( email=...
self.user1_old_pass == self.user1.password)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_password_reset.py
test_reset_password_invalid_form
self.assertFalse
complex_expr
22
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylod class PasswordResetTestCaseMixin: def setUp(self): self.user1 = self.register_user( email=...
self.user1_old_pass != self.user1.password)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_query.py
test_me_anonymous
self.assertIsNone
variable
27
from django.test import TestCase from .testCases import DefaultTestCase class QueryTestCase(DefaultTestCase): def setUp(self): self.user1 = self.register_user( email="foo@email.com", username="foo", verified=False ) self.user2 = self.register_user( email="bar@email....
executed)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_query.py
test_query
self.assertTrue
complex_expr
34
from django.test import TestCase from .testCases import DefaultTestCase class QueryTestCase(DefaultTestCase): def setUp(self): self.user1 = self.register_user( email="foo@email.com", username="foo", verified=False ) self.user2 = self.register_user( email="bar@email....
executed["edges"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_query.py
test_public_user_query
self.assertEqual
collection
27
from django.test import TestCase from .testCases import DefaultTestCase class QueryTestCase(DefaultTestCase): def setUp(self): self.user1 = self.register_user( email="foo@email.com", username="foo", verified=False ) self.user2 = self.register_user( email="bar@email....
{"verified": False})
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_query.py
test_me_authenticated
self.assertTrue
complex_expr
27
from django.test import TestCase from .testCases import DefaultTestCase class QueryTestCase(DefaultTestCase): def setUp(self): self.user1 = self.register_user( email="foo@email.com", username="foo", verified=False ) self.user2 = self.register_user( email="bar@email....
executed["username"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_refresh_token.py
test_refresh_token
self.assertFalse
complex_expr
25
from django.contrib.auth import get_user_model from django.utils import timezone from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class RefreshTokenTestCaseMixin: def setUp(self): self.user = self.register_user( email="foo@email.com", username=...
executed["errors"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_refresh_token.py
test_refresh_token
self.assertTrue
complex_expr
22
from django.contrib.auth import get_user_model from django.utils import timezone from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class RefreshTokenTestCaseMixin: def setUp(self): self.user = self.register_user( email="foo@email.com", username=...
executed["success"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_refresh_token.py
test_refresh_token
self.assertTrue
complex_expr
24
from django.contrib.auth import get_user_model from django.utils import timezone from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class RefreshTokenTestCaseMixin: def setUp(self): self.user = self.register_user( email="foo@email.com", username=...
executed["payload"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_refresh_token.py
test_refresh_token
self.assertTrue
complex_expr
18
from django.contrib.auth import get_user_model from django.utils import timezone from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class RefreshTokenTestCaseMixin: def setUp(self): self.user = self.register_user( email="foo@email.com", username=...
executed["refreshToken"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_register.py
test_register_email_send_fail
self.assertEqual
numeric_literal
25
from smtplib import SMTPException from unittest import mock from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_...
0)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_register.py
test_register
self.assertEqual
bool_literal
24
from smtplib import SMTPException from unittest import mock from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_...
True)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_register.py
test_register
self.assertEqual
none_literal
25
from smtplib import SMTPException from unittest import mock from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_...
None)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_register.py
test_register_invalid_password_validation
self.assertEqual
bool_literal
23
from smtplib import SMTPException from unittest import mock from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_...
False)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_register.py
test_register
self.assertTrue
complex_expr
26
from smtplib import SMTPException from unittest import mock from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_...
executed["token"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_register.py
test_register_invalid_password_validation
self.assertTrue
complex_expr
24
from smtplib import SMTPException from unittest import mock from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_...
executed["errors"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_register.py
test_register_email_send_fail
self.assertEqual
complex_expr
24
from smtplib import SMTPException from unittest import mock from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_...
Messages.EMAIL_FAIL)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_register.py
test_register_duplicate_unique_email
self.assertFalse
complex_expr
30
from smtplib import SMTPException from unittest import mock from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_...
executed["refreshToken"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_register.py
test_register_duplicate_unique_email
self.assertTrue
complex_expr
28
from smtplib import SMTPException from unittest import mock from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_...
executed["errors"]["email"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_remove_secondary_email.py
test_remove_email
self.assertEqual
bool_literal
19
from django.contrib.auth import get_user_model from graphql_auth.constants import Messages from .testCases import RelayTestCase, DefaultTestCase class RemoveSecondaryEmailCaseMixin: def setUp(self): self.user = self.register_user( email="bar@email.com", username="bar", ...
True)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_remove_secondary_email.py
test_remove_email
self.assertEqual
none_literal
22
from django.contrib.auth import get_user_model from graphql_auth.constants import Messages from .testCases import RelayTestCase, DefaultTestCase class RemoveSecondaryEmailCaseMixin: def setUp(self): self.user = self.register_user( email="bar@email.com", username="bar", ...
None)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_remove_secondary_email.py
test_remove_email
self.assertFalse
complex_expr
20
from django.contrib.auth import get_user_model from graphql_auth.constants import Messages from .testCases import RelayTestCase, DefaultTestCase class RemoveSecondaryEmailCaseMixin: def setUp(self): self.user = self.register_user( email="bar@email.com", username="bar", ...
executed["errors"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_resend_activation_email.py
test_resend_email_invalid_email
self.assertEqual
bool_literal
25
from smtplib import SMTPException from unittest import mock from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class ResendActivationEmailTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
True)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_resend_activation_email.py
test_resend_email_invalid_email
self.assertEqual
none_literal
26
from smtplib import SMTPException from unittest import mock from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class ResendActivationEmailTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
None)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_resend_activation_email.py
test_resend_email_valid_email_verified
self.assertEqual
bool_literal
22
from smtplib import SMTPException from unittest import mock from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class ResendActivationEmailTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
False)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_resend_activation_email.py
test_resend_email_fail_to_send_email
self.assertEqual
complex_expr
31
from smtplib import SMTPException from unittest import mock from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class ResendActivationEmailTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
Messages.EMAIL_FAIL)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_resend_activation_email.py
test_resend_email_valid_email_verified
self.assertEqual
complex_expr
23
from smtplib import SMTPException from unittest import mock from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class ResendActivationEmailTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
Messages.ALREADY_VERIFIED)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_resend_activation_email.py
test_invalid_form
self.assertTrue
complex_expr
23
from smtplib import SMTPException from unittest import mock from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class ResendActivationEmailTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
executed["errors"]["email"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_revoke_token.py
test_revoke_token
self.assertFalse
complex_expr
23
from unittest import skip from django.contrib.auth import get_user_model from django.utils import timezone from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class RevokeTokenTestCaseMixin: def setUp(self): self.user1 = self.register_user(email="foo@email.co...
executed["errors"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_revoke_token.py
test_revoke_token
self.assertTrue
complex_expr
21
from unittest import skip from django.contrib.auth import get_user_model from django.utils import timezone from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class RevokeTokenTestCaseMixin: def setUp(self): self.user1 = self.register_user(email="foo@email.co...
executed["success"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_revoke_token.py
test_revoke_token
self.assertTrue
complex_expr
22
from unittest import skip from django.contrib.auth import get_user_model from django.utils import timezone from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class RevokeTokenTestCaseMixin: def setUp(self): self.user1 = self.register_user(email="foo@email.co...
executed["revoked"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_revoke_token.py
test_revoke_token
self.assertTrue
complex_expr
17
from unittest import skip from django.contrib.auth import get_user_model from django.utils import timezone from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class RevokeTokenTestCaseMixin: def setUp(self): self.user1 = self.register_user(email="foo@email.co...
executed["refreshToken"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_send_password_reset_email.py
test_send_email_invalid_email
self.assertEqual
bool_literal
28
from smtplib import SMTPException from unittest import mock from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class SendPasswordResetEmailTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
True)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_send_password_reset_email.py
test_send_email_invalid_email
self.assertEqual
none_literal
29
from smtplib import SMTPException from unittest import mock from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class SendPasswordResetEmailTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
None)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_send_password_reset_email.py
test_invalid_form
self.assertEqual
bool_literal
25
from smtplib import SMTPException from unittest import mock from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class SendPasswordResetEmailTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
False)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_send_password_reset_email.py
test_send_email_to_not_verified_user_emal_fail
self.assertEqual
complex_expr
30
from smtplib import SMTPException from unittest import mock from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class SendPasswordResetEmailTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
Messages.EMAIL_FAIL)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_send_password_reset_email.py
test_invalid_form
self.assertTrue
complex_expr
26
from smtplib import SMTPException from unittest import mock from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class SendPasswordResetEmailTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
executed["errors"]["email"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_send_password_reset_email.py
test_send_email_to_not_verified_user
self.assertEqual
complex_expr
26
from smtplib import SMTPException from unittest import mock from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class SendPasswordResetEmailTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
Messages.NOT_VERIFIED_PASSWORD_RESET)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_send_secondary_email_activation.py
test_valid_email
self.assertEqual
bool_literal
19
from smtplib import SMTPException from unittest import mock from .testCases import RelayTestCase, DefaultTestCase class SendSecondaryEmailActivationTestCaseMixin: def setUp(self): self.user1 = self.register_user( email="gaa@email.com", username="gaa", verified=False ) self.user...
True)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_send_secondary_email_activation.py
test_not_verified_user
self.assertEqual
bool_literal
19
from smtplib import SMTPException from unittest import mock from .testCases import RelayTestCase, DefaultTestCase class SendSecondaryEmailActivationTestCaseMixin: def setUp(self): self.user1 = self.register_user( email="gaa@email.com", username="gaa", verified=False ) self.user...
False)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_send_secondary_email_activation.py
test_not_verified_user
self.assertTrue
complex_expr
20
from smtplib import SMTPException from unittest import mock from .testCases import RelayTestCase, DefaultTestCase class SendSecondaryEmailActivationTestCaseMixin: def setUp(self): self.user1 = self.register_user( email="gaa@email.com", username="gaa", verified=False ) self.user...
executed["errors"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_swap_emails.py
test_swap_emails
self.assertEqual
bool_literal
22
from django.contrib.auth import get_user_model from graphql_auth.constants import Messages from .testCases import RelayTestCase, DefaultTestCase class SwapEmailsCaseMixin: def setUp(self): self.user = self.register_user( email="bar@email.com", username="bar", verified=...
True)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_swap_emails.py
test_swap_emails_without_secondary_email
self.assertEqual
bool_literal
22
from django.contrib.auth import get_user_model from graphql_auth.constants import Messages from .testCases import RelayTestCase, DefaultTestCase class SwapEmailsCaseMixin: def setUp(self): self.user = self.register_user( email="bar@email.com", username="bar", verified=...
False)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_swap_emails.py
test_swap_emails
self.assertEqual
string_literal
26
from django.contrib.auth import get_user_model from graphql_auth.constants import Messages from .testCases import RelayTestCase, DefaultTestCase class SwapEmailsCaseMixin: def setUp(self): self.user = self.register_user( email="bar@email.com", username="bar", verified=...
"bar@email.com")
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_swap_emails.py
test_swap_emails
self.assertFalse
complex_expr
23
from django.contrib.auth import get_user_model from graphql_auth.constants import Messages from .testCases import RelayTestCase, DefaultTestCase class SwapEmailsCaseMixin: def setUp(self): self.user = self.register_user( email="bar@email.com", username="bar", verified=...
executed["errors"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_swap_emails.py
test_swap_emails
self.assertEqual
string_literal
25
from django.contrib.auth import get_user_model from graphql_auth.constants import Messages from .testCases import RelayTestCase, DefaultTestCase class SwapEmailsCaseMixin: def setUp(self): self.user = self.register_user( email="bar@email.com", username="bar", verified=...
"secondary@email.com")
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_swap_emails.py
test_swap_emails_without_secondary_email
self.assertEqual
complex_expr
23
from django.contrib.auth import get_user_model from graphql_auth.constants import Messages from .testCases import RelayTestCase, DefaultTestCase class SwapEmailsCaseMixin: def setUp(self): self.user = self.register_user( email="bar@email.com", username="bar", verified=...
Messages.SECONDARY_EMAIL_REQUIRED)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_update_account.py
test_update_account
self.assertEqual
bool_literal
25
from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages class UpdateAccountTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
True)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_update_account.py
test_update_account
self.assertEqual
none_literal
26
from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages class UpdateAccountTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
None)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_update_account.py
test_update_account_unauthenticated
self.assertEqual
bool_literal
24
from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages class UpdateAccountTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
False)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_update_account.py
test_invalid_form
self.assertEqual
string_literal
30
from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages class UpdateAccountTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
"bar")
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_update_account.py
test_update_account_non_field_errors
self.assertEqual
string_literal
37
from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages class UpdateAccountTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
"first")
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_update_account.py
test_update_account
self.assertEqual
string_literal
28
from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages class UpdateAccountTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
"firstname")
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_update_account.py
test_update_account_not_verified
self.assertEqual
complex_expr
26
from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages class UpdateAccountTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
Messages.NOT_VERIFIED)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_update_account.py
test_update_account_unauthenticated
self.assertEqual
complex_expr
25
from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages class UpdateAccountTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
Messages.UNAUTHENTICATED)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_update_account.py
test_invalid_form
self.assertTrue
complex_expr
28
from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages class UpdateAccountTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
executed["errors"]["firstName"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_update_account.py
test_update_account_non_field_errors
self.assertTrue
complex_expr
44
from pytest import mark from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from .decorators import skipif_django_21 from graphql_auth.constants import Messages class UpdateAccountTestCaseMixin: def setUp(self): self.user1 = self.register_user( ...
executed["errors"]["nonFieldErrors"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_verify_account.py
test_verify_user
self.assertEqual
bool_literal
21
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylod from graphql_auth.models import UserStatus class VerifyAccountCaseMixin: def setUp(self): self.user1 =...
True)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_verify_account.py
test_verified_user
self.assertEqual
bool_literal
21
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylod from graphql_auth.models import UserStatus class VerifyAccountCaseMixin: def setUp(self): self.user1 =...
False)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_verify_account.py
test_verify_user
self.assertFalse
complex_expr
22
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylod from graphql_auth.models import UserStatus class VerifyAccountCaseMixin: def setUp(self): self.user1 =...
executed["errors"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_verify_account.py
test_invalid_token
self.assertEqual
complex_expr
21
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylod from graphql_auth.models import UserStatus class VerifyAccountCaseMixin: def setUp(self): self.user1 =...
Messages.INVALID_TOKEN)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_verify_account.py
test_verified_user
self.assertEqual
complex_expr
22
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token, get_token_paylod from graphql_auth.models import UserStatus class VerifyAccountCaseMixin: def setUp(self): self.user1 =...
Messages.ALREADY_VERIFIED)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_verify_secondary_email.py
test_verify_secondary_email
self.assertEqual
bool_literal
25
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token from graphql_auth.models import UserStatus class VerifySecondaryEmailCaseMixin: def setUp(self): self.user = self.regist...
True)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_verify_secondary_email.py
test_invalid_token
self.assertEqual
bool_literal
20
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token from graphql_auth.models import UserStatus class VerifySecondaryEmailCaseMixin: def setUp(self): self.user = self.regist...
False)
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_verify_secondary_email.py
test_verify_secondary_email
self.assertFalse
complex_expr
26
from django.contrib.auth import get_user_model from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages from graphql_auth.utils import get_token from graphql_auth.models import UserStatus class VerifySecondaryEmailCaseMixin: def setUp(self): self.user = self.regist...
executed["errors"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_verify_token.py
test_verify_token
self.assertTrue
complex_expr
18
from django.contrib.auth import get_user_model from django.utils import timezone from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class VerifyTokenTestCaseMixin: def setUp(self): self.user = self.register_user( email="foo@email.com", username="...
executed["token"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_verify_token.py
test_verify_token
self.assertFalse
complex_expr
24
from django.contrib.auth import get_user_model from django.utils import timezone from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class VerifyTokenTestCaseMixin: def setUp(self): self.user = self.register_user( email="foo@email.com", username="...
executed["errors"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_verify_token.py
test_verify_token
self.assertTrue
complex_expr
22
from django.contrib.auth import get_user_model from django.utils import timezone from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class VerifyTokenTestCaseMixin: def setUp(self): self.user = self.register_user( email="foo@email.com", username="...
executed["success"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PedroBern/django-graphql-auth
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
train
train
tests/test_verify_token.py
test_verify_token
self.assertTrue
complex_expr
23
from django.contrib.auth import get_user_model from django.utils import timezone from .testCases import RelayTestCase, DefaultTestCase from graphql_auth.constants import Messages class VerifyTokenTestCaseMixin: def setUp(self): self.user = self.register_user( email="foo@email.com", username="...
executed["payload"])
295a4a2a5c5879f27036dc57f805cdd2a7294e9f
16
v2_extractor_at_anchor
PyMySQL/PyMySQL
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
train
train
pymysql/tests/test_DictCursor.py
test_custom_dict
self.assertEqual
string_literal
68
from pymysql.tests import base import pymysql.cursors import datetime import warnings class TestDictCursor(base.PyMySQLTestCase): bob = {"name": "bob", "age": 21, "DOB": datetime.datetime(1990, 2, 6, 23, 4, 56)} jim = {"name": "jim", "age": 56, "DOB": datetime.datetime(1955, 5, 9, 13, 12, 45)} fred = {"na...
"list failed via MyDictCursor")
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
v2_extractor_at_anchor
PyMySQL/PyMySQL
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
train
train
pymysql/tests/test_DictCursor.py
test_DictCursor
self.assertEqual
string_literal
78
from pymysql.tests import base import pymysql.cursors import datetime import warnings class TestDictCursor(base.PyMySQLTestCase): bob = {"name": "bob", "age": 21, "DOB": datetime.datetime(1990, 2, 6, 23, 4, 56)} jim = {"name": "jim", "age": 56, "DOB": datetime.datetime(1955, 5, 9, 13, 12, 45)} fred = {"na...
"DictCursor should be iterable")
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
v2_extractor_at_anchor
PyMySQL/PyMySQL
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
train
train
pymysql/tests/test_DictCursor.py
test_DictCursor
self.assertEqual
string_literal
56
from pymysql.tests import base import pymysql.cursors import datetime import warnings class TestDictCursor(base.PyMySQLTestCase): bob = {"name": "bob", "age": 21, "DOB": datetime.datetime(1990, 2, 6, 23, 4, 56)} jim = {"name": "jim", "age": 56, "DOB": datetime.datetime(1955, 5, 9, 13, 12, 45)} fred = {"na...
"fetchone via DictCursor failed")
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
v2_extractor_at_anchor
PyMySQL/PyMySQL
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
train
train
pymysql/tests/test_DictCursor.py
test_DictCursor
self.assertEqual
string_literal
74
from pymysql.tests import base import pymysql.cursors import datetime import warnings class TestDictCursor(base.PyMySQLTestCase): bob = {"name": "bob", "age": 21, "DOB": datetime.datetime(1990, 2, 6, 23, 4, 56)} jim = {"name": "jim", "age": 56, "DOB": datetime.datetime(1955, 5, 9, 13, 12, 45)} fred = {"na...
"fetchall failed via DictCursor")
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
v2_extractor_at_anchor
PyMySQL/PyMySQL
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
train
train
pymysql/tests/test_DictCursor.py
test_DictCursor
self.assertEqual
string_literal
82
from pymysql.tests import base import pymysql.cursors import datetime import warnings class TestDictCursor(base.PyMySQLTestCase): bob = {"name": "bob", "age": 21, "DOB": datetime.datetime(1990, 2, 6, 23, 4, 56)} jim = {"name": "jim", "age": 56, "DOB": datetime.datetime(1955, 5, 9, 13, 12, 45)} fred = {"na...
"fetchmany failed via DictCursor")
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
v2_extractor_at_anchor
PyMySQL/PyMySQL
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
train
train
pymysql/tests/test_DictCursor.py
test_custom_dict
self.assertEqual
string_literal
59
from pymysql.tests import base import pymysql.cursors import datetime import warnings class TestDictCursor(base.PyMySQLTestCase): bob = {"name": "bob", "age": 21, "DOB": datetime.datetime(1990, 2, 6, 23, 4, 56)} jim = {"name": "jim", "age": 56, "DOB": datetime.datetime(1955, 5, 9, 13, 12, 45)} fred = {"na...
"fetchone() returns MyDictCursor")
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
v2_extractor_at_anchor
PyMySQL/PyMySQL
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
train
train
pymysql/tests/test_DictCursor.py
test_custom_dict
self.assertEqual
string_literal
64
from pymysql.tests import base import pymysql.cursors import datetime import warnings class TestDictCursor(base.PyMySQLTestCase): bob = {"name": "bob", "age": 21, "DOB": datetime.datetime(1990, 2, 6, 23, 4, 56)} jim = {"name": "jim", "age": 56, "DOB": datetime.datetime(1955, 5, 9, 13, 12, 45)} fred = {"na...
"fetchall failed via MyDictCursor")
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
v2_extractor_at_anchor
PyMySQL/PyMySQL
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
train
train
pymysql/tests/test_DictCursor.py
test_DictCursor
self.assertEqual
string_literal
62
from pymysql.tests import base import pymysql.cursors import datetime import warnings class TestDictCursor(base.PyMySQLTestCase): bob = {"name": "bob", "age": 21, "DOB": datetime.datetime(1990, 2, 6, 23, 4, 56)} jim = {"name": "jim", "age": 56, "DOB": datetime.datetime(1955, 5, 9, 13, 12, 45)} fred = {"na...
"fetch a 1 row result via fetchall failed via DictCursor")
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
v2_extractor_at_anchor
PyMySQL/PyMySQL
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
train
train
pymysql/tests/test_SSCursor.py
test_SSCursor
self.assertListEqual
collection
104
import sys class TestSSCursor(base.PyMySQLTestCase): def test_SSCursor(self): affected_rows = 18446744073709551615 conn = self.connect(client_flag=CLIENT.MULTI_STATEMENTS) data = [ ("America", "", "America/Jamaica"), ("America", "", "America/Los_Angeles"), ...
[(1,)])
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
v2_extractor_at_anchor
PyMySQL/PyMySQL
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
train
train
pymysql/tests/test_SSCursor.py
test_SSCursor
self.assertListEqual
collection
106
import sys class TestSSCursor(base.PyMySQLTestCase): def test_SSCursor(self): affected_rows = 18446744073709551615 conn = self.connect(client_flag=CLIENT.MULTI_STATEMENTS) data = [ ("America", "", "America/Jamaica"), ("America", "", "America/Los_Angeles"), ...
[(2,)])
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
v2_extractor_at_anchor
PyMySQL/PyMySQL
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
train
train
pymysql/tests/test_SSCursor.py
test_SSCursor
self.assertListEqual
collection
108
import sys class TestSSCursor(base.PyMySQLTestCase): def test_SSCursor(self): affected_rows = 18446744073709551615 conn = self.connect(client_flag=CLIENT.MULTI_STATEMENTS) data = [ ("America", "", "America/Jamaica"), ("America", "", "America/Los_Angeles"), ...
[(3,)])
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
v2_extractor_at_anchor
PyMySQL/PyMySQL
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
train
train
pymysql/tests/test_SSCursor.py
test_SSCursor
self.assertTrue
func_call
105
import sys class TestSSCursor(base.PyMySQLTestCase): def test_SSCursor(self): affected_rows = 18446744073709551615 conn = self.connect(client_flag=CLIENT.MULTI_STATEMENTS) data = [ ("America", "", "America/Jamaica"), ("America", "", "America/Los_Angeles"), ...
cursor.nextset())
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
v2_extractor_at_anchor
PyMySQL/PyMySQL
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
train
train
pymysql/tests/test_basic.py
test_datatypes
self.assertEqual
variable
61
import datetime import json import time import pytest import pymysql.cursors from pymysql.tests import base from pymysql.err import ProgrammingError __all__ = ["TestConversion", "TestCursor", "TestBulkInserts"] class TestConversion(base.PyMySQLTestCase): def test_datatypes(self): """ test every data typ...
r)
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
v2_extractor_at_anchor
PyMySQL/PyMySQL
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
train
train
pymysql/tests/test_basic.py
test_datatypes
self.assertEqual
complex_expr
45
import datetime import json import time import pytest import pymysql.cursors from pymysql.tests import base from pymysql.err import ProgrammingError __all__ = ["TestConversion", "TestCursor", "TestBulkInserts"] class TestConversion(base.PyMySQLTestCase): def test_datatypes(self): """ test every data typ...
r[0])
255b5dd931cbe3f9dda846ae99bed6b0c0ecf778
114
v2_extractor_at_anchor