検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 29 for TestCase (0.030 sec.)
テストツール — Django 4.0.6 ドキュメント 15565
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... for those frameworks; see the section on LiveServerTestCase for more details. 包括的なテストスイートを実現する ... on is True , that exception will be visible in the test case. You can then use a standard try ... except block ... o.test import Client class SimpleTest ( unittest . TestCase ): def setUp ( self ): # Every test needs a client ... 標準の Python ユニットテストのクラスは、 unittest.TestCase のベースクラスを拡張しています。Django は、このベー ...
https://man.plustar.jp/django/topics/testing/tools.html - [similar]
テストを書いて実行する — Django 4.0.6 ドキュメント 10980
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ースのアプローチで定義します。 次の例では、 unittest.TestCase のサブクラスである django.test.TestCase から、テス ... で、独立性を実現しています。 from django.test import TestCase from myapp.models import Animal class AnimalTestCa ... se ( TestCase ): def setUp ( self ): Animal . objects . create ( ... つファイルからすべてのテストケース (つまり unittest.TestCase のすべてのサブクラス) を見つけ出します。次に、それ ...
https://man.plustar.jp/django/topics/testing/overview.html - [similar]
Advanced testing topics — Django 4.0.6 ドキュメント 10458
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... er , User from django.test import RequestFactory , TestCase from .views import MyView , my_view class SimpleTe ... st ( TestCase ): def setUp ( self ): # Every test needs access t ... ests.py ¶ from django.test import RequestFactory , TestCase from .views import HomeView class HomePageTest ( T ... om includes the following: from django.test import TestCase class SearchFormTestCase ( TestCase ): def test_em ...
https://man.plustar.jp/django/topics/testing/advanced.html - [similar]
はじめての Django アプリ作成、その 5 — Django 4.0.6 ドキュメント 8467
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... tests.py ¶ import datetime from django.test import TestCase from django.utils import timezone from .models imp ... ort Question class QuestionModelTests ( TestCase ): def test_was_published_recently_with_future_que ... のインスタンスを生成するメソッドを持つ django.test.TestCase を継承したサブクラスを作っています。それから、 was ... アプリケーション内にあるテストを探します django.test.TestCase クラスのサブクラスを発見します テストのための特別な ...
https://man.plustar.jp/django/intro/tutorial05.html - [similar]
データベースのトランザクション — Django 4.0.6 ドキュメント 8467
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... を要求する ORM 操作の信頼性を担保します。 Django の TestCase クラスは、パフォーマンス向上のため、各テストをトラ ... jango's request / response cycle. 警告 django.test.TestCase disables the durability check to allow testing dur ... or performance reasons. Use django.test.TransactionTestCase for testing durability. Changed in Django 3.2: The ... k will result in an error. Use in tests ¶ Django's TestCase class wraps each test in a transaction and rolls b ...
https://man.plustar.jp/django/topics/db/transactions.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 8337
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... tionality such as Coalesce , Concat , and Substr . TestCase data setup ¶ TestCase has been refactored to allow ... hole class and one for each test. The class method TestCase.setUpTestData() adds the ability to set up test da ... compared to using setUp() . Fixture loading within TestCase is now performed once for the whole TestCase . マイ ... reserve the test database ( --keepdb ), to run the test cases in reverse order ( --reverse ), and to enable SQ ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
Django 2.2 リリースノート — Django 4.0.6 ドキュメント 8011
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... d references automatically. テスト ¶ The new SimpleTestCase.assertURLEqual() assertion checks for a given URL, ... ase constraints are now checked at the end of each TestCase test on SQLite 3.20+, just like on other backends ... pport for GDAL 1.9 and 1.10 is dropped. TransactionTestCase serialized data loading ¶ Initial data migrations ... are now loaded in TransactionTestCase at the end of the test, after the database flush. ...
https://man.plustar.jp/django/releases/2.2.html - [similar]
Django 3.2 release notes — Django 4.0.6 ドキュメント 7880
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... . テスト ¶ Objects assigned to class attributes in TestCase.setUpTestData() are now isolated for each test met ... ring when following 307 and 308 redirects. The new TestCase.captureOnCommitCallbacks() method captures callbac ... such callbacks without using the slower TransactionTestCase . TransactionTestCase.assertQuerysetEqual() now su ... copies with copy.deepcopy() to class attributes in TestCase.setUpTestData() is deprecated. Using a boolean val ...
https://man.plustar.jp/django/releases/3.2.html - [similar]
Django 1.5 release notes — Django 4.0.6 ドキュメント 7815
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... on MySQLdb) ImageField (depends on PIL) LiveServerTestCase (depends on Selenium WebDriver) Further, Django's ... etups: Database flushing in django.test.TransactionTestCase ¶ Previously, the test database was truncated befo ... re each test run in a TransactionTestCase . In order to be able to run unit tests in any ord ... ey are always isolated from each other, TransactionTestCase will now reset the database after each test run in ...
https://man.plustar.jp/django/releases/1.5.html - [similar]
Django 1.8.4 リリースノート — Django 4.0.6 ドキュメント 7815
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ary_key=True ( #12768 ). Prevented an exception in TestCase.setUpTestData() from leaking the transaction ( #25 ...
https://man.plustar.jp/django/releases/1.8.4.html - [similar]
PREV 1 2 3 NEXT