forked from wagtail/wagtail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
360 changed files
with
317 additions
and
322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ jobs: | |
- image: cimg/python:3.8.11-browsers | ||
environment: | ||
PIPENV_VENV_IN_PROJECT: true | ||
DJANGO_SETTINGS_MODULE: wagtail.tests.settings_ui | ||
DJANGO_SETTINGS_MODULE: wagtail.test.settings_ui | ||
steps: | ||
- checkout | ||
- attach_workspace: | ||
|
@@ -87,13 +87,13 @@ jobs: | |
key: ui_tests-npm_integration-v1-{{ checksum "client/tests/integration/package-lock.json" }} | ||
paths: | ||
- client/tests/integration/node_modules | ||
- run: pipenv run ./wagtail/tests/manage.py migrate | ||
- run: pipenv run ./wagtail/test/manage.py migrate | ||
- run: | ||
command: pipenv run ./wagtail/tests/manage.py runserver 0:8000 | ||
command: pipenv run ./wagtail/test/manage.py runserver 0:8000 | ||
background: true | ||
- run: pipenv run ./wagtail/tests/manage.py createcachetable | ||
- run: pipenv run ./wagtail/test/manage.py createcachetable | ||
- run: | ||
command: pipenv run ./wagtail/tests/manage.py createsuperuser --noinput | ||
command: pipenv run ./wagtail/test/manage.py createsuperuser --noinput | ||
environment: | ||
DJANGO_SUPERUSER_EMAIL: [email protected] | ||
DJANGO_SUPERUSER_USERNAME: admin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,7 +102,7 @@ You can create migrations for the test app by running the following from the Wag | |
|
||
.. code-block:: console | ||
$ django-admin makemigrations --settings=wagtail.tests.settings | ||
$ django-admin makemigrations --settings=wagtail.test.settings | ||
Testing against PostgreSQL | ||
|
@@ -188,12 +188,12 @@ Our end-to-end browser testing suite also uses `Jest <https://jestjs.io/>`_, com | |
|
||
.. code-block:: console | ||
$ export DJANGO_SETTINGS_MODULE=wagtail.tests.settings_ui | ||
$ export DJANGO_SETTINGS_MODULE=wagtail.test.settings_ui | ||
$ # Assumes the current environment contains a valid installation of Wagtail for local development. | ||
$ ./wagtail/tests/manage.py migrate | ||
$ ./wagtail/tests/manage.py createcachetable | ||
$ [email protected] DJANGO_SUPERUSER_USERNAME=admin DJANGO_SUPERUSER_PASSWORD=changeme ./wagtail/tests/manage.py createsuperuser --noinput | ||
$ ./wagtail/tests/manage.py runserver 0:8000 | ||
$ ./wagtail/test/manage.py migrate | ||
$ ./wagtail/test/manage.py createcachetable | ||
$ [email protected] DJANGO_SUPERUSER_USERNAME=admin DJANGO_SUPERUSER_PASSWORD=changeme ./wagtail/test/manage.py createsuperuser --noinput | ||
$ ./wagtail/test/manage.py runserver 0:8000 | ||
$ npm --prefix client/tests/integration install | ||
$ npm run test:integration | ||
|
@@ -289,7 +289,7 @@ Wagtail’s UI component library is built with `Storybook <https://storybook.js. | |
|
||
.. code-block:: console | ||
$ export DJANGO_SETTINGS_MODULE=wagtail.tests.settings_ui | ||
$ export DJANGO_SETTINGS_MODULE=wagtail.test.settings_ui | ||
$ # Assumes the current environment contains a valid installation of Wagtail for local development. | ||
$ ./wagtail/tests/manage.py migrate | ||
$ ./wagtail/tests/manage.py createcachetable | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
wagtail/admin/tests/pages/test_bulk_actions/test_bulk_action.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.