Skip to content

Commit 7a0515a

Browse files
authored
Migrate pytest.ini configuration to pyproject.toml Fixes #51 (#52)
1 parent 82345ae commit 7a0515a

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,14 @@ replacement = '[\1](https://github.com/digitalocean/gradient-python/tree/main/\g
117117

118118
[tool.pytest.ini_options]
119119
testpaths = ["tests"]
120-
addopts = "--tb=short -n auto"
120+
addopts = "--tb=short -n auto -m 'not smoke'"
121121
xfail_strict = true
122122
asyncio_mode = "auto"
123123
asyncio_default_fixture_loop_scope = "session"
124124
filterwarnings = ["error"]
125+
markers = [
126+
"smoke: lightweight external integration smoke tests hitting live Gradient services",
127+
]
125128

126129
[tool.pyright]
127130
# this enables practically every flag given by pyright.

pytest.ini

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)