Skip to content

Commit 0534e89

Browse files
committed
Just run just test for pymongo
1 parent 7dd4a0e commit 0534e89

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

django_mongodb_cli/repo.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,6 @@ def test(
293293
"""
294294
repos, url_pattern, branch_pattern, upstream_pattern = get_repos("pyproject.toml")
295295
if repo_name:
296-
# Setup only for pymongo
297-
if setup and not repo_name == "mongo-python-driver":
298-
click.echo(click.style("Setup only for use with pymongo", fg="red"))
299-
return
300296
# Show test settings
301297
if show:
302298
if repo_name in test_settings_map.keys():
@@ -406,11 +402,8 @@ def test(
406402
"--self-contained-html",
407403
]
408404
)
409-
410-
if repo_name == "mongo-python-driver" and setup:
411-
command.extend(["setup-tests"])
412405
elif repo_name == "mongo-python-driver":
413-
command.extend(["run-tests"])
406+
command.extend(["test"])
414407

415408
command.extend(modules)
416409
if os.environ.get("DJANGO_SETTINGS_MODULE"):

0 commit comments

Comments
 (0)