Skip to content

Commit 8bc2b26

Browse files
committed
ci(tests_pytest_plugin) Mark tests as benchmark
1 parent 19ac84c commit 8bc2b26

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_pytest_plugin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from libvcs.pytest_plugin import CreateRepoPytestFixtureFn
1010

1111

12+
@pytest.mark.benchmark
1213
@pytest.mark.skipif(not shutil.which("git"), reason="git is not available")
1314
def test_create_git_remote_repo(
1415
create_git_remote_repo: CreateRepoPytestFixtureFn,
@@ -22,6 +23,7 @@ def test_create_git_remote_repo(
2223
assert git_remote_1 != git_remote_2
2324

2425

26+
@pytest.mark.benchmark
2527
@pytest.mark.skipif(not shutil.which("svn"), reason="svn is not available")
2628
def test_create_svn_remote_repo(
2729
create_svn_remote_repo: CreateRepoPytestFixtureFn,
@@ -35,6 +37,7 @@ def test_create_svn_remote_repo(
3537
assert svn_remote_1 != svn_remote_2
3638

3739

40+
@pytest.mark.benchmark
3841
def test_plugin(
3942
pytester: pytest.Pytester,
4043
monkeypatch: pytest.MonkeyPatch,

0 commit comments

Comments
 (0)