Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/integration-tests-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
matrix:
python-version:
- '3.8'
- '3.11'
- '3.13'
name: Build with Python ${{ matrix.python-version }}
steps:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def main():
'pytest-cov<6',
'pytest-lazy-fixtures<2',
'pytest-rerunfailures',
'pytest-xdist',
'pytz',
'urllib3<2',
]
Expand Down
9 changes: 4 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -95,22 +95,21 @@ deps =

[testenv:integration-tests]
passenv = JWT_CONFIG_BASE_64,ADMIN_USER_ID

commands =
pytest {toxinidir}/test/boxsdk/integration_new {posargs} --disable-pytest-warnings --reruns 2
pytest -n 5 {toxinidir}/test/boxsdk/integration_new {posargs} --disable-pytest-warnings --reruns 2
deps = -rrequirements-test.txt

[testenv:integration-tests-gen]
passenv = JWT_CONFIG_BASE_64,ADMIN_USER_ID,CLIENT_ID,CLIENT_SECRET,USER_ID,ENTERPRISE_ID,BOX_FILE_REQUEST_ID,BOX_EXTERNAL_USER_EMAIL,BOX_EXTERNAL_USER_ID,WORKFLOW_FOLDER_ID,APP_ITEM_ASSOCIATION_FILE_ID,APP_ITEM_ASSOCIATION_FOLDER_ID,APP_ITEM_SHARED_LINK,SLACK_AUTOMATION_USER_ID,SLACK_ORG_ID,SLACK_PARTNER_ITEM_ID
commands =
pytest {toxinidir}/test/box_sdk_gen/test {posargs} --disable-pytest-warnings --reruns 2
pytest -n 5 {toxinidir}/test/box_sdk_gen/test {posargs} --disable-pytest-warnings --reruns 2
deps = -rrequirements-test.txt
allowlist_externals = pytest

[testenv:smoke-tests]
passenv = JWT_CONFIG_BASE_64,ADMIN_USER_ID
commands =
pytest \
pytest -n 5 \
{toxinidir}/test/boxsdk/integration_new/object/file_itest.py \
{toxinidir}/test/boxsdk/integration_new/object/folder_itest.py \
--disable-pytest-warnings --reruns 2
Expand All @@ -119,7 +118,7 @@ deps = -rrequirements-test.txt
[testenv:smoke-tests-gen]
passenv = JWT_CONFIG_BASE_64,ADMIN_USER_ID,CLIENT_ID,CLIENT_SECRET,USER_ID,ENTERPRISE_ID,BOX_FILE_REQUEST_ID,BOX_EXTERNAL_USER_EMAIL,BOX_EXTERNAL_USER_ID,WORKFLOW_FOLDER_ID,APP_ITEM_ASSOCIATION_FILE_ID,APP_ITEM_ASSOCIATION_FOLDER_ID,APP_ITEM_SHARED_LINK,SLACK_AUTOMATION_USER_ID,SLACK_ORG_ID,SLACK_PARTNER_ITEM_ID
commands =
pytest \
pytest -n 5 \
{toxinidir}/test/box_sdk_gen/test/auth.py \
{toxinidir}/test/box_sdk_gen/test/files.py \
{toxinidir}/test/box_sdk_gen/test/downloads.py \
Expand Down