Results of 1 - 10 of about 80 for tests (0.030 sec.)
- Unit tests — Django 4.0.6 ドキュメント 13478
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ts | Index | Modules « previous | up | next » Unit tests ¶ Django comes with a test suite of its own, in th ...
e tests directory of the code base. It's our policy to mak ...
e sure all tests pass at all times. We appreciate any and all contr ...
ibutions to the test suite! The Django tests all use the testing infrast ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/unit-tests.htm...
- [similar]
- Advanced testing topics — Django 4.0.6 ドキュメント 11958
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
setup() , before proceeding with your test's code: tests.py ¶ from django.test import RequestFactory , Test ...
ata () self . assertIn ( 'environment' , context ) Tests and multiple host names ¶ The ALLOWED_HOSTS settin ...
g is validated when running tests. This allows the test client to differentiate betw ...
on the request's host and use custom host names in tests must include those hosts in ALLOWED_HOSTS . The fi ...
-
https://man.plustar.jp/django/topics/testing/advanced.html
- [similar]
- JavaScript — Django 4.0.6 ドキュメント 11177
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
rs. ESLint will be run when you run the JavaScript tests. We also recommended installing a ESLint plugin in ...
nimizing overall admin media file size. JavaScript tests ¶ Django's JavaScript tests can be run in a browse ...
r or from the command line. The tests are located in a top level js_tests directory. テス ...
トを書く ¶ Django's JavaScript tests use QUnit . Here is an example test module: QUnit ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/javascript.htm...
- [similar]
- GIS QuerySet API リファレンス — Django 4.0.6 ドキュメント 9944
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
IS , MariaDB, MySQL, SpatiaLite, PGRaster (Native) Tests if the geometry or raster field's bounding box com ...
IS , MariaDB, MySQL, SpatiaLite, PGRaster (Native) Tests if the geometry field's bounding box overlaps the ...
IS , MariaDB, MySQL, SpatiaLite, PGRaster (Native) Tests if the geometry field's bounding box is completely ...
, MariaDB, MySQL, SpatiaLite, PGRaster (Bilateral) Tests if the geometry field spatially contains the looku ...
-
https://man.plustar.jp/django/ref/contrib/gis/geoquerysets.html
- [similar]
- テストを書いて実行する — Django 4.0.6 ドキュメント 9205
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tartapp テンプレートは、新しいアプリケーション内に tests.py ファイルを作成します。テストの数が少ないうちは、 ...
の Python パスを指定します。たとえば: # Run all the tests in the animals.tests module $ ./manage.py test ani ...
mals.tests # Run all the tests found within the 'animals' pac ...
Run just one test case $ ./manage.py test animals.tests.AnimalTestCase # Run just one test method $ ./mana ...
-
https://man.plustar.jp/django/topics/testing/overview.html
- [similar]
- Testing GeoDjango apps — Django 4.0.6 ドキュメント 8835
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
a database user with sufficient privileges to run tests for GeoDjango applications on PostgreSQL. If your ...
ial database entitled template_postgis . GeoDjango tests ¶ To have the GeoDjango tests executed when runnin ...
g the Django test suite with runtests.py all of the databases in the ...
backends that can be used to run the entire Django test suite, including those in django.contrib.gis : DATA ...
-
https://man.plustar.jp/django/ref/contrib/gis/testing.html
- [similar]
- テストツール — Django 4.0.6 ドキュメント 8752
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ith the Django framework. This helps make the unit tests run quickly. ページの取得時には、ドメイン全体ではな ...
w = True ) >>> response . redirect_chain [('http://testserver/next/', 302), ('http://testserver/final/', 30 ...
itions. You'll need to create users as part of the test suite -- either manually (using the Django model AP ...
id executing write queries which will affect other tests since each SimpleTestCase test isn't run in a tran ...
-
https://man.plustar.jp/django/topics/testing/tools.html
- [similar]
- Triaging tickets — Django 4.0.6 ドキュメント 8465
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
a ticket and sends an incomplete pull request (no tests, incorrect implementation). Bob reviews the pull r ...
equest, marks the ticket as "Accepted", "needs tests", and "patch needs improvement", and leaves a comm ...
e improved. Alice updates the pull request, adding tests (but not changing the implementation). She removes ...
atch and trying it out, verifying that it contains tests and docs, running the test suite with the included ...
-
https://man.plustar.jp/django/internals/contributing/triaging-tickets.html
- [similar]
- Django 1.6 release notes — Django 4.0.6 ドキュメント 8424
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e Persistent connections for details. Discovery of tests in any test module ¶ Django 1.6 ships with a new t ...
er that allows more flexibility in the location of tests. The previous runner ( django.test.simple.DjangoTe ...
stSuiteRunner ) found tests only in the models.py and tests.py modules of a Py ...
ry, and bundled with Django). With test discovery, tests can be located in any module whose name matches th ...
-
https://man.plustar.jp/django/releases/1.6.html
- [similar]
- Advice for new contributors — Django 4.0.6 ドキュメント 8259
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ark the appropriate flags if a patch needs docs or tests. Look through the changes a patch makes, and keep ...
er but still supported versions of Python. Run the tests and make sure they pass. Where possible and releva ...
orous When we say " PEP 8 , and must have docs and tests", we mean it. If a patch doesn't have docs and tes ...
ason. Arguments like "I couldn't find any existing tests of this feature" don't carry much weight--while it ...
-
https://man.plustar.jp/django/internals/contributing/new-contributors.html
- [similar]