Skip to content

Commit

Permalink
Update sampleproject fixture (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhrutledge committed Mar 26, 2022
1 parent a6dd69c commit aa7c047
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_integration.py
Expand Up @@ -16,7 +16,10 @@
from twine import __main__ as dunder_main
from twine import cli

pytestmark = [pytest.mark.enable_socket, pytest.mark.flaky(reruns=3, reruns_delay=1)]
pytestmark = [
pytest.mark.enable_socket,
pytest.mark.flaky(reruns=3, reruns_delay=1),
]


@pytest.fixture(scope="session")
Expand All @@ -27,7 +30,7 @@ def sampleproject_dist(tmp_path_factory):
)
with (checkout / "setup.py").open("r+") as setup:
orig = setup.read()
sub = orig.replace("name='sampleproject'", "name='twine-sampleproject'")
sub = orig.replace('name="sampleproject"', 'name="twine-sampleproject"')
assert orig != sub
setup.seek(0)
setup.write(sub)
Expand Down

0 comments on commit aa7c047

Please sign in to comment.