Skip to content

Commit

Permalink
fix rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
Javed Habib committed Feb 20, 2025
1 parent f9c443a commit e52a0c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
13 changes: 5 additions & 8 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ build:
os: ubuntu-22.04
tools:
python: "3.10"
jobs:
post_create_environment:
- python -m pip install poetry
post_install:
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
# You can also specify other tool versions:
# nodejs: "20"
# rust: "1.70"
Expand All @@ -26,11 +31,3 @@ sphinx:
# formats:
# - pdf
# - epub

python:
install:
- method: pip
path: .
extra_requirements:
- docs
- dev
4 changes: 1 addition & 3 deletions tests/security/access_control/test_access_control_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,7 @@ class TestModelPathResolution(TestCase):
def test_no_model_input(self):
config = AccessControlConfig()
default_model_path = str(
files(
ACCESS_CONTROL_BASE_PATH, DEFAULT_MODEL_FILE
)
files(ACCESS_CONTROL_BASE_PATH).joinpath(DEFAULT_MODEL_FILE)
)
assert config.model == default_model_path

Expand Down

0 comments on commit e52a0c6

Please sign in to comment.