Skip to content

Commit

Permalink
remove dist dir and change to simple_project fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-callonnec committed Feb 9, 2024
1 parent 31dda41 commit aa3fe9a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/console/commands/test_publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,12 @@ def test_publish_dist_dir_and_build_options(
command_tester_factory: CommandTesterFactory,
dist_dir: str | None,
) -> None:
source_dir = fixture_dir("with_multiple_dist_dir")
source_dir = fixture_dir("simple_project")
target_dir = tmp_path / "project"
shutil.copytree(str(source_dir), str(target_dir))

# Remove dist dir because as it will be built again
shutil.rmtree(target_dir / "dist")

http.register_uri(
http.POST, "https://upload.pypi.org/legacy/", status=409, body="Conflict"
Expand Down

0 comments on commit aa3fe9a

Please sign in to comment.