Skip to content

Commit

Permalink
skip backup tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
eimrek committed Nov 28, 2023
1 parent c030168 commit d7e962d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the CLI commands"""
import platform
from pathlib import Path

import pytest
Expand Down Expand Up @@ -187,6 +188,9 @@ def myimport(
assert "No errors found" in result.stdout


@pytest.mark.skipif(
platform.system() == "Windows", reason="Backup not supported on Windows"
)
@pytest.mark.parametrize(
"remote, verbosity",
[
Expand Down Expand Up @@ -246,6 +250,9 @@ def test_backup(temp_container, temp_dir, remote, verbosity):
assert "No errors found" in result.stdout


@pytest.mark.skipif(
platform.system() == "Windows", reason="Backup not supported on Windows"
)
def test_backup_repeated(temp_container, temp_dir):
"""Test the backup command repeated 3 times.
Expand Down

0 comments on commit d7e962d

Please sign in to comment.