Skip to content

Commit

Permalink
Move the tests on the cli and piping to tests/functional/cli
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Nov 7, 2023
1 parent 5c22e0e commit d070bb6
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 5 deletions.
Empty file added tests/functional/__init__.py
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion tests/test_black.py → tests/functional/cli/test_black.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from jupytext.compare import compare, compare_cells, compare_notebooks
from jupytext.header import _DEFAULT_NOTEBOOK_METADATA

from .utils import list_notebooks, requires_autopep8, requires_black, requires_flake8
from ...utils import list_notebooks, requires_autopep8, requires_black, requires_flake8


@requires_black
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py → tests/functional/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from jupytext.formats import JupytextFormatError, long_form_one_format
from jupytext.paired_paths import InconsistentPath, paired_paths

from .utils import (
from ...utils import (
list_notebooks,
requires_jupytext_installed,
requires_myst,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from jupytext import write
from jupytext.cli import jupytext

from .utils import requires_black
from ...utils import requires_black


@pytest.fixture
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from jupytext.cli import jupytext
from jupytext.version import __version__

from .utils import (
from ...utils import (
requires_ir_kernel,
requires_nbconvert,
requires_user_kernel_python3,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_isort.py → tests/functional/cli/test_isort.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from jupytext.cli import pipe_notebook
from jupytext.compare import compare

from .utils import requires_isort
from ...utils import requires_isort


@requires_isort
Expand Down

0 comments on commit d070bb6

Please sign in to comment.