Skip to content

Commit

Permalink
Add more test cases about fsspec integration
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Nov 14, 2024
1 parent 857109b commit 6ee5408
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ lint: ## Run pep8, black, mypy linters.

.PHONY: test
test: ## Run tests and generate coverage report.
$(ENV_PREFIX)pytest -vv -s --cov-config .coveragerc --cov=tosfs -l --tb=short --maxfail=1 tosfs/tests/ --ignore=tosfs/tests/test_stability.py
$(ENV_PREFIX)pytest -vv -s --cov-config .coveragerc --cov=tosfs -l --tb=short --maxfail=1 tosfs/tests/test_fsspec_integration.py --ignore=tosfs/tests/test_stability.py

.PHONY: test_stability
test_stability: ## Run stability tests.
Expand Down
2 changes: 1 addition & 1 deletion tosfs/tests/test_fsspec_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_customized_class(bucket, temporary_workspace):
"class": "tosfs.tests.test_fsspec_integration.MyTosFileSystem"
}
fsspec.register_implementation(
"tos", "tosfs.tests.test_fsspec_integration.MyTosFileSystem"
"tos", "tosfs.tests.test_fsspec_integration.MyTosFileSystem", True
)

logger.error("----------------")
Expand Down

0 comments on commit 6ee5408

Please sign in to comment.