Coder Social home page Coder Social logo

Comments (2)

cgopalan avatar cgopalan commented on July 23, 2024 2

I confirmed that tests pass for Django 3.2.2

Steps:

  1. Created a virtual environment with Python 3.8 and Django 3.2.2 and activated it
  2. Cloned django-registration repo and cd into it
  3. Ran pip install -e . to install django-registration app
  4. Added SECRET_KEY setting in SETTINGS_DICT in runtests.py
  5. Added DEFAULT_AUTO_FIELD key with value django.db.models.AutoField in SETTINGS_DICT in runtests.py (Required for Django 3.2.2 if you dont want the warnings to show)
  6. Ran python runtests.py

Output:

Creating test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
Operations to perform:
  Apply all migrations: auth, contenttypes, django_registration, sessions, sites, tests
Running migrations:
  Applying contenttypes.0001_initial... OK
  Applying contenttypes.0002_remove_content_type_name... OK
  Applying auth.0001_initial... OK
  Applying auth.0002_alter_permission_name_max_length... OK
  Applying auth.0003_alter_user_email_max_length... OK
  Applying auth.0004_alter_user_username_opts... OK
  Applying auth.0005_alter_user_last_login_null... OK
  Applying auth.0006_require_contenttypes_0002... OK
  Applying auth.0007_alter_validators_add_error_messages... OK
  Applying auth.0008_alter_user_username_max_length... OK
  Applying auth.0009_alter_user_last_name_max_length... OK
  Applying auth.0010_alter_group_name_max_length... OK
  Applying auth.0011_update_proxy_permissions... OK
  Applying auth.0012_alter_user_first_name_max_length... OK
  Applying django_registration.0001_initial... OK
  Applying sessions.0001_initial... OK
  Applying sites.0001_initial... OK
  Applying sites.0002_alter_domain_unique... OK
  Applying tests.0001_initial... OK
System check identified no issues (0 silenced).
test_activation (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_activation_expired (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_activation_signal (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_bad_key (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_custom_user_configured (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_nonexistent_activation (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_registration (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_registration_closed (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_registration_failure (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_registration_get (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_registration_no_sites (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_registration_open (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_registration_signal (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_repeat_activation (tests.test_activation_workflow.ActivationBackendCustomUserTests) ... ok
test_activation (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_activation_expired (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_activation_signal (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_bad_key (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_nonexistent_activation (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration_closed (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration_failure (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration_get (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration_no_sites (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration_open (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration_signal (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_repeat_activation (tests.test_activation_workflow.ActivationBackendViewTests) ... ok
test_registration (tests.base.ActivationTestCase) ... ok
test_registration_closed (tests.base.ActivationTestCase) ... ok
test_registration_failure (tests.base.ActivationTestCase) ... ok
test_registration_get (tests.base.ActivationTestCase) ... ok
test_registration_no_sites (tests.base.ActivationTestCase) ... ok
test_registration_open (tests.base.ActivationTestCase) ... ok
test_registration_signal (tests.base.ActivationTestCase) ... ok
test_case_insensitive_form (tests.test_forms.RegistrationFormTests) ... ok
test_case_insensitive_validator (tests.test_forms.RegistrationFormTests) ... ok
test_case_insensitive_validator_eq (tests.test_forms.RegistrationFormTests) ... ok
test_confusable_emails (tests.test_forms.RegistrationFormTests) ... ok
test_confusable_usernames (tests.test_forms.RegistrationFormTests) ... ok
test_confusables_email_validator (tests.test_forms.RegistrationFormTests) ... ok
test_confusables_validator (tests.test_forms.RegistrationFormTests) ... ok
test_custom_reserved_names (tests.test_forms.RegistrationFormTests) ... ok
test_email_required (tests.test_forms.RegistrationFormTests) ... ok
test_email_uniqueness (tests.test_forms.RegistrationFormTests) ... ok
test_email_validation (tests.test_forms.RegistrationFormTests) ... ok
test_email_validator (tests.test_forms.RegistrationFormTests) ... ok
test_reserved_name_non_string (tests.test_forms.RegistrationFormTests) ... ok
test_reserved_name_validator_eq (tests.test_forms.RegistrationFormTests) ... ok
test_reserved_names (tests.test_forms.RegistrationFormTests) ... ok
test_tos_field (tests.test_forms.RegistrationFormTests) ... ok
test_username_uniqueness (tests.test_forms.RegistrationFormTests) ... ok
test_custom_user_configured (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests) ... ok
test_registration (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests) ... ok
test_registration_closed (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests) ... ok
test_registration_failure (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests) ... ok
test_registration_get (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests) ... ok
test_registration_open (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests) ... ok
test_registration_signal (tests.test_one_step_workflow.OneStepWorkflowCustomUserTests) ... ok
test_registration (tests.test_one_step_workflow.OneStepWorkflowViewTests) ... ok
test_registration_closed (tests.test_one_step_workflow.OneStepWorkflowViewTests) ... ok
test_registration_failure (tests.test_one_step_workflow.OneStepWorkflowViewTests) ... ok
test_registration_get (tests.test_one_step_workflow.OneStepWorkflowViewTests) ... ok
test_registration_open (tests.test_one_step_workflow.OneStepWorkflowViewTests) ... ok
test_registration_signal (tests.test_one_step_workflow.OneStepWorkflowViewTests) ... ok
test_registration (tests.base.WorkflowTestCase) ... ok
test_registration_closed (tests.base.WorkflowTestCase) ... ok
test_registration_failure (tests.base.WorkflowTestCase) ... ok
test_registration_get (tests.base.WorkflowTestCase) ... ok
test_registration_open (tests.base.WorkflowTestCase) ... ok
test_registration_signal (tests.base.WorkflowTestCase) ... ok
test_activation (tests.test_views.ActivationViewTests) ... ok
test_user_mismatch_breaks_view (tests.test_views.CustomUserTests) ... ok
test_sensitive_post_parameters_are_filtered (tests.test_views.SensitiveParameterFilterTests) ... ok

----------------------------------------------------------------------
Ran 73 tests in 6.218s

OK
Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...

from django-registration.

mariorojas avatar mariorojas commented on July 23, 2024

Totally agree @hirusi !

from django-registration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.