diff --git a/pyproject.toml b/pyproject.toml index d248970..498e0cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -117,11 +117,14 @@ replacement = '[\1](https://github.com/digitalocean/gradient-python/tree/main/\g [tool.pytest.ini_options] testpaths = ["tests"] -addopts = "--tb=short -n auto" +addopts = "--tb=short -n auto -m 'not smoke'" xfail_strict = true asyncio_mode = "auto" asyncio_default_fixture_loop_scope = "session" filterwarnings = ["error"] +markers = [ + "smoke: lightweight external integration smoke tests hitting live Gradient services", +] [tool.pyright] # this enables practically every flag given by pyright. diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 55e560a..0000000 --- a/pytest.ini +++ /dev/null @@ -1,5 +0,0 @@ -[pytest] -markers = - smoke: lightweight external integration smoke tests hitting live Gradient services -addopts = -m "not smoke" -asyncio_mode = auto