File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -471,6 +471,10 @@ def handle_test_env() -> None:
471471 if TEST_SUITE :
472472 TEST_ARGS = f"-m { TEST_SUITE } { TEST_ARGS } "
473473
474+ # For test_bson, run the specific test file
475+ if test_name == "test_bson" :
476+ TEST_ARGS = f"test/test_bson.py { TEST_ARGS } "
477+
474478 write_env ("TEST_ARGS" , TEST_ARGS )
475479 write_env ("UV_ARGS" , " " .join (UV_ARGS ))
476480
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ class Distro:
4444 "mockupdb" : "mockupdb" ,
4545 "ocsp" : "ocsp" ,
4646 "perf" : "perf" ,
47+ "test_bson" : "" ,
4748}
4849
4950# Tests that require a sub test suite.
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ markers = [
133133 " mockupdb: tests that rely on mockupdb" ,
134134 " default: default test suite" ,
135135 " default_async: default async test suite" ,
136+ " test_bson: bson module tests" ,
136137]
137138
138139[tool .mypy ]
You can’t perform that action at this time.
0 commit comments