Skip to content

Commit

Permalink
feat: add test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lalver1 committed Dec 9, 2024
1 parent 1a9b91a commit 6d234ee
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN python -m pip install --upgrade pip
COPY . .

# install devcontainer requirements
RUN pip install -e .[dev]
RUN pip install -e .[dev,test]

# install docs requirements
RUN pip install --no-cache-dir -r docs/requirements.txt
Expand Down
14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ dev = [
"pre-commit"
]

test = [
"coverage",
"pytest",
"pytest-django",
"pytest-mock",
"pytest-socket",
]

[project.urls]
Code = "https://github.com/compilerla/pems"
Homepage = "https://compilerla.github.io/pems/"
Expand All @@ -34,6 +42,12 @@ line-length = 127
target-version = ['py312']
include = '\.pyi?$'

[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "pems.settings"
markers = [
"request_path: use with session_request to initialize with the given path",
]

[tool.setuptools.packages.find]
include = ["pems*"]
namespaces = false

0 comments on commit 6d234ee

Please sign in to comment.