| # | |
| # Licensed to the Apache Software Foundation (ASF) under one or more | |
| # contributor license agreements. See the NOTICE file distributed with | |
| # this work for additional information regarding copyright ownership. | |
| # The ASF licenses this file to You under the Apache License, Version 2.0 | |
| # (the "License"); you may not use this file except in compliance with | |
| # the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| # | |
| [pytest] | |
| testpaths = | |
| tests | |
| python_files = *_test.py test_*.py *_tests.py *viz/utils.py | |
| # `-p no:warnings` temporarily disabled in favor of more finely tuned `filterwarnings`. | |
| # `not testcontainers` excludes tests/testcontainers/ by default: those spin up | |
| # real Docker containers, and `testpaths = tests` would otherwise pull them into | |
| # every plain `pytest` run. The dedicated CI job (testcontainers.yml) overrides | |
| # this with an explicit `-m testcontainers` to run them. | |
| addopts = -m "not testcontainers" | |
| markers = | |
| testcontainers: exercises a real database via testcontainers-python (needs Docker); excluded by default, see .github/workflows/testcontainers.yml | |
| asyncio_mode = auto | |
| # `ignore` is effectively equivalent to `-p no:warnings`. | |
| filterwarnings = | |
| ignore |