Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed tests/alt-fixtures/twine-1.5.0-py2.py3-none-any.whl
Binary file not shown.
Binary file removed tests/fixtures/twine-1.5.0.zip
Binary file not shown.
1 change: 0 additions & 1 deletion tests/test_sdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
params=[
"fixtures/twine-1.5.0.tar.gz",
"fixtures/twine-1.6.5.tar.gz",
"fixtures/twine-1.5.0.zip",
]
)
def example_sdist(request):
Expand Down
13 changes: 3 additions & 10 deletions tests/test_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import os
import pathlib
import re
import zipfile
Expand All @@ -22,17 +21,11 @@
from twine import exceptions
from twine import wheel

from . import helpers


@pytest.fixture(
params=[
"fixtures/twine-1.5.0-py2.py3-none-any.whl",
"alt-fixtures/twine-1.5.0-py2.py3-none-any.whl",
]
)
@pytest.fixture()
def example_wheel(request):
file_name = os.path.join(helpers.TESTS_DIR, request.param)
parent = pathlib.Path(__file__).parent
file_name = str(parent / "fixtures" / "twine-1.5.0-py2.py3-none-any.whl")
return wheel.Wheel(file_name)


Expand Down
Loading