- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 90 for get_main (0.09 seconds)
-
docs/ja/docs/tutorial/testing.md
### テストファイル { #testing-file } 次に、テストを含む `test_main.py` ファイルを用意できます。これは同じ Python パッケージ (`__init__.py` ファイルがある同じディレクトリ) に置けます: ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` このファイルは同じパッケージ内にあるため、相対インポートを使って `main` モジュール (`main.py`) からオブジェクト `app` をインポートできます: {* ../../docs_src/app_testing/app_a_py310/test_main.py hl[3] *} ...そして、これまでと同じようにテストコードを書けます。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 7.1K bytes - Click Count (0) -
docs/pt/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` O arquivo `main.py` teria: {* ../../docs_src/async_tests/app_a_py310/main.py *} O arquivo `test_main.py` teria os testes para para o arquivo `main.py`, ele poderia ficar assim: {* ../../docs_src/async_tests/app_a_py310/test_main.py *} ## Executá-lo { #run-it } Você pode executar os seus testes normalmente via:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` 檔案 `main.py` 會是: {* ../../docs_src/async_tests/app_a_py310/main.py *} 檔案 `test_main.py` 會包含針對 `main.py` 的測試,現在可能像這樣: {* ../../docs_src/async_tests/app_a_py310/test_main.py *} ## 執行 { #run-it } 如常執行測試: <div class="termy"> ```console $ pytest ---> 100%Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.5K bytes - Click Count (0) -
docs/es/docs/tutorial/testing.md
### Archivo de prueba { #testing-file } Entonces podrías tener un archivo `test_main.py` con tus pruebas. Podría estar en el mismo paquete de Python (el mismo directorio con un archivo `__init__.py`): ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 6.1K bytes - Click Count (0) -
docs/de/docs/tutorial/testing.md
### Testdatei { #testing-file } Dann könnten Sie eine Datei `test_main.py` mit Ihren Tests haben. Sie könnte sich im selben Python-Package befinden (dasselbe Verzeichnis mit einer `__init__.py`-Datei): ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 6.6K bytes - Click Count (0) -
docs/de/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` Die Datei `main.py` hätte als Inhalt: {* ../../docs_src/async_tests/app_a_py310/main.py *} Die Datei `test_main.py` hätte die Tests für `main.py`, das könnte jetzt so aussehen: {* ../../docs_src/async_tests/app_a_py310/test_main.py *} ## Es ausführen { #run-it } Sie können Ihre Tests wie gewohnt ausführen mit:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 4.3K bytes - Click Count (1) -
docs/en/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` The file `main.py` would have: {* ../../docs_src/async_tests/app_a_py310/main.py *} The file `test_main.py` would have the tests for `main.py`, it could look like this now: {* ../../docs_src/async_tests/app_a_py310/test_main.py *} ## Run it { #run-it } You can run your tests as usual via:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.8K bytes - Click Count (0) -
docs/tr/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` `main.py` dosyası şöyle olur: {* ../../docs_src/async_tests/app_a_py310/main.py *} `test_main.py` dosyasında `main.py` için testler yer alır, artık şöyle görünebilir: {* ../../docs_src/async_tests/app_a_py310/test_main.py *} ## Çalıştırma { #run-it } Testlerinizi her zamanki gibi şu şekilde çalıştırabilirsiniz:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/pt/docs/tutorial/testing.md
### Arquivo de teste { #testing-file } Então você poderia ter um arquivo `test_main.py` com seus testes. Ele poderia estar no mesmo pacote Python (o mesmo diretório com um arquivo `__init__.py`): ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 6.1K bytes - Click Count (0) -
docs/ko/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` `main.py` 파일은 다음과 같습니다: {* ../../docs_src/async_tests/app_a_py310/main.py *} `test_main.py` 파일에는 `main.py`에 대한 테스트가 있으며, 이제 다음과 같이 보일 수 있습니다: {* ../../docs_src/async_tests/app_a_py310/test_main.py *} ## 실행하기 { #run-it } 다음과 같이 평소처럼 테스트를 실행할 수 있습니다: <div class="termy"> ```consoleCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 4.5K bytes - Click Count (0)