- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 83 for testDomain (0.23 sec)
-
docs/ru/docs/tutorial/testing.md
### Файл тестов { #testing-file } Также у Вас может быть файл `test_main.py` содержащий тесты. Можно разместить тестовый файл и файл приложения в одной директории (в директориях для Python-кода желательно размещать и файл `__init__.py`): ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
assertEquals(2, Type2Message.readUShort(targetInfo, 0)); // Type 0x0002 assertEquals(TEST_DOMAIN.getBytes(Type2Message.UNI_ENCODING).length, Type2Message.readUShort(targetInfo, 2)); // Length assertEquals(TEST_DOMAIN, new String(Arrays.copyOfRange(targetInfo, 4, 4 + TEST_DOMAIN.getBytes(Type2Message.UNI_ENCODING).length), Type2Message.UNI_ENCODING));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (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 ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/testing.md
### 테스트 파일 테스트를 위해 `test_main.py` 라는 파일을 생성할 수 있습니다. 이 파일은 동일한 Python 패키지(즉, `__init__.py` 파일이 있는 동일한 디렉터리)에 위치할 수 있습니다. ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` 파일들이 동일한 패키지에 위치해 있으므로, 상대 참조를 사용하여 `main` 에서 `app` 객체를 임포트 해올 수 있습니다. {* ../../docs_src/app_testing/test_main.py hl[3] *} ...그리고 이전에 작성했던 것과 같은 테스트 코드를 작성할 수 있습니다.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
Properties props = new Properties(); props.setProperty("jcifs.smb.client.domain", "TEST_DOMAIN"); CIFSContext context = new BaseContext(new PropertyConfiguration(props)); NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(context, "TEST_DOMAIN", "user", "pass"); when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(auth);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
{* ../../docs_src/app_testing/app_a_py39/main.py *} ### Testing file { #testing-file } Then you could have a file `test_main.py` with your tests. It could live on the same Python package (the same directory with a `__init__.py` file): ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.1K bytes - Viewed (0) -
docs/uk/docs/tutorial/testing.md
{* ../../docs_src/app_testing/main.py *} ### Файл тестування Ви можете створити файл `test_main.py` з Вашими тестами. Він може знаходитися в тому ж пакеті Python (у тій самій директорії з файлом `__init__.py`): ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 9.5K bytes - Viewed (0) -
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_py39/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_py39/test_main.py *} ## Run it { #run-it } You can run your tests as usual via:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4K bytes - Viewed (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 ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7K bytes - Viewed (0) -
docs/zh/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` 文件 `main.py` 将包含: {* ../../docs_src/async_tests/main.py *} 文件 `test_main.py` 将包含针对 `main.py` 的测试,现在它可能看起来如下: {* ../../docs_src/async_tests/test_main.py *} ## 运行测试 您可以通过以下方式照常运行测试: <div class="termy"> ```console $ pytest ---> 100% ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 17 21:49:06 UTC 2024 - 3.9K bytes - Viewed (0)