per page, with , order by , clip by
Results of 1 - 2 of about 2 for speak (0.002 sec.)
テストを書いて実行する — Django 6.1 ドキュメント 11228
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストを書いて実行する ¶ 参考 テストチュートリアル 、 テストツールリファレンス 、 テストに関する応用的なトピック も参照 ドキュメントは2つの大きなセク ... estCase ( TestCase ): def setUp ( self ): Animal . objects . create ( name = "cat" , sound = "meow" ) def test_animals_can_speak ( self ): """Animals that can speak are correctly identified""" cat = Animal . objects . get ( name = "cat" ) self . asser ... tEqual ( cat . speak (), 'The cat says "meow"' ) cat . sound = "hiss" cat . save ( update_fields = [ "sound" ]) self . assertEqual ( cat . spea ... t animals.tests.AnimalTestCase # Run just one test method $ ./manage.py test animals.tests.AnimalTestCase.test_animals_can_speak ディレクトリ下に置かれたテストを探索するために、ディレクトリのパスを指定することもできます。 $ ./manage.py test animals/ - ...
https://man.mtool.work/django/6.1/topics/testing/overview.html
テストを書いて実行する — Django 6.1 ドキュメント 7485
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストを書いて実行する ¶ 参考 テストチュートリアル 、 テストツールリファレンス 、 テストに関する応用的なトピック も参照 ドキュメントは2つの大きなセク ... estCase ( TestCase ): def setUp ( self ): Animal . objects . create ( name = "cat" , sound = "meow" ) def test_animals_can_speak ( self ): """Animals that can speak are correctly identified""" cat = Animal . objects . get ( name = "cat" ) self . asser ... tEqual ( cat . speak (), 'The cat says "meow"' ) cat . sound = "hiss" cat . save ( update_fields = [ "sound" ]) self . assertEqual ( cat . spea ... t animals.tests.AnimalTestCase # Run just one test method $ ./manage.py test animals.tests.AnimalTestCase.test_animals_can_speak ディレクトリ下に置かれたテストを探索するために、ディレクトリのパスを指定することもできます。 $ ./manage.py test animals/ - ...
https://man.mtool.work/django/6.1/topics/testing/overview.html
PREV 1 NEXT