Skip to content

Commit e4a6675

Browse files
committed
Run unittest tests with unittest
The unit tests in the following directories are written to unittest, not pytest: * `samples/client/echo_api/python/` * `samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/` If pytest is told to execute these tests, it will log warnings about being unable to collect certain tests.
1 parent 9948ed2 commit e4a6675

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/samples-python-client-echo-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
4343
- name: Test
4444
working-directory: ${{ matrix.sample }}
45-
run: python -m pytest
45+
run: python -m unittest discover
4646

4747
- name: mypy
4848
working-directory: ${{ matrix.sample }}

0 commit comments

Comments
 (0)