Skip to content

Commit

Permalink
chore: Update test imports and fixtures in test files
Browse files Browse the repository at this point in the history
  • Loading branch information
GuitaristForEver committed Jun 24, 2024
1 parent f28979c commit 38fe0ac
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pyc
File renamed without changes.
1 change: 0 additions & 1 deletion tests/test_anypath_flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from anypathlib import PathType, AnyPath
from tests.tests_urls import PATH_TYPE_TO_HANDLER
from fixtures_anypath import temp_dir_with_files, clean_remote_dir


@pytest.mark.usefixtures("temp_dir_with_files", "clean_remote_dir")
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pytest

from anypathlib.cli import cli
from tests.fixtures_anypath import temp_dir_with_files, cli_runner, temp_local_dir
from tests.conftest import temp_dir_with_files, cli_runner, temp_local_dir

FOLDER_NAME = 'folder'

Expand Down
1 change: 0 additions & 1 deletion tests/test_copy_file_to_dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from anypathlib import PathType, AnyPath
from tests.tests_urls import PATH_TYPE_TO_HANDLER
from fixtures_anypath import temp_local_dir, temp_dir_with_files, clean_remote_dir


@pytest.mark.usefixtures("temp_dir_with_files", "temp_local_dir", "clean_remote_dir")
Expand Down
1 change: 0 additions & 1 deletion tests/test_download_from_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from anypathlib import PathType, AnyPath
from tests.tests_urls import PATH_TYPE_TO_HANDLER
from fixtures_anypath import temp_local_dir, temp_dir_with_files, clean_remote_dir


@pytest.mark.usefixtures("temp_dir_with_files", "temp_local_dir", "clean_remote_dir")
Expand Down
1 change: 0 additions & 1 deletion tests/test_iterdir_glob_rglob.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import pytest
from anypathlib import PathType, AnyPath
from tests.tests_urls import PATH_TYPE_TO_HANDLER
from fixtures_anypath import temp_dir_with_files, clean_remote_dir, temp_nested_dir


@pytest.mark.usefixtures("temp_nested_dir", "clean_remote_dir")
Expand Down
1 change: 0 additions & 1 deletion tests/test_str_path_interoperability.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import pytest

from anypathlib import AnyPath, PathType
from fixtures_anypath import temp_local_dir, temp_dir_with_files, clean_remote_dir
from tests.tests_urls import PATH_TYPE_TO_HANDLER


Expand Down
1 change: 0 additions & 1 deletion tests/test_upload_to_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from anypathlib import PathType, AnyPath
from tests.tests_urls import PATH_TYPE_TO_HANDLER
from fixtures_anypath import temp_local_dir, temp_dir_with_files, clean_remote_dir


@pytest.mark.usefixtures("temp_dir_with_files", "temp_local_dir", "clean_remote_dir")
Expand Down

0 comments on commit 38fe0ac

Please sign in to comment.