- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 55 for testDomain (0.07 sec)
-
docs/es/docs/tutorial/testing.md
{* ../../docs_src/app_testing/main.py *} ### Archivo de prueba 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 ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 6.9K bytes - Viewed (0) -
docs/ja/docs/tutorial/testing.md
### **FastAPI** アプリファイル **FastAPI** アプリに `main.py` ファイルがあるとします: {* ../../docs_src/app_testing/main.py *} ### テストファイル 次に、テストを含む `test_main.py` ファイルを作成し、`main` モジュール (`main.py`) から `app` をインポートします: {* ../../docs_src/app_testing/test_main.py *} ## テスト: 例の拡張 次に、この例を拡張し、詳細を追加して、さまざまなパーツをテストする方法を確認しましょう。 ### 拡張版 **FastAPI** アプリファイル **FastAPI** アプリに `main_b.py` ファイルがあるとします。
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.6K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
package main import ( "bufio" "bytes" "internal/testenv" "os" "path/filepath" "runtime" "strings" "testing" ) // TestMain executes the test binary as the addr2line command if // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise. func TestMain(m *testing.M) { if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" { main() os.Exit(0) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 06 13:23:48 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
serverData.serverTimeZone = 300; serverData.encryptionKeyLength = 8; response.byteCount = 10; serverData.oemDomainName = "TEST_DOMAIN"; String result = response.toString(); assertTrue(result.contains("dialectIndex=5")); assertTrue(result.contains("securityMode=0x3"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
response.getServerData().encryptionKeyLength = 8; // Use reflection to set protected byteCount field setByteCount(response, 8); response.getServerData().oemDomainName = "TEST_DOMAIN"; String result = response.toString(); assertNotNull(result); assertTrue(result.contains("SmbComNegotiateResponse")); assertTrue(result.contains("dialectIndex=0"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
import jcifs.smb1.ntlmssp.Type2Message; @ExtendWith(MockitoExtension.class) class NtlmContextTest { @Mock private NtlmPasswordAuthentication mockAuth; private final String domain = "TEST_DOMAIN"; private final String username = "testUser"; private final String password = "testPassword"; private final String workstation = "TEST_WORKSTATION"; @BeforeEach void setUp() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/cmd/api/api_test.go
import ( "flag" "fmt" "go/build" "internal/testenv" "os" "path/filepath" "slices" "strings" "sync" "testing" ) var flagCheck = flag.Bool("check", false, "run API checks") func TestMain(m *testing.M) { flag.Parse() for _, c := range contexts { c.Compiler = build.Default.Compiler } build.Default.GOROOT = testenv.GOROOT(nil) os.Exit(m.Run()) } var (
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri May 02 17:06:27 UTC 2025 - 7.6K bytes - Viewed (0) -
docs/es/docs/advanced/settings.md
### Configuraciones y pruebas Luego sería muy fácil proporcionar un objeto de configuraciones diferente durante las pruebas al sobrescribir una dependencia para `get_settings`: {* ../../docs_src/settings/app02/test_main.py hl[9:10,13,21] *} En la dependencia sobreescrita establecemos un nuevo valor para el `admin_email` al crear el nuevo objeto `Settings`, y luego devolvemos ese nuevo objeto. Luego podemos probar que se está usando.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 12.7K bytes - Viewed (0) -
docs/de/docs/advanced/settings.md
### Einstellungen und Tests Dann wäre es sehr einfach, beim Testen ein anderes Einstellungsobjekt bereitzustellen, indem man eine Abhängigkeitsüberschreibung für `get_settings` erstellt: {* ../../docs_src/settings/app02/test_main.py hl[9:10,13,21] *} Bei der Abhängigkeitsüberschreibung legen wir einen neuen Wert für `admin_email` fest, wenn wir das neue `Settings`-Objekt erstellen, und geben dann dieses neue Objekt zurück.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 16.4K bytes - Viewed (0) -
docs/em/docs/advanced/settings.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 11.1K bytes - Viewed (0)