Fixup things after rebase

Some changes to make things work on top of current features branch.
This commit is contained in:
Floris Bruynooghe
2016-07-14 12:42:29 +01:00
parent 743f59afb2
commit 51ee7f8734
3 changed files with 10 additions and 8 deletions

View File

@@ -400,9 +400,14 @@ def test_setuptools_importerror_issue1479(testdir, monkeypatch):
pkg_resources = pytest.importorskip("pkg_resources")
def my_iter(name):
assert name == "pytest11"
class Dist:
project_name = 'spam'
version = '1.0'
def _get_metadata(self, name):
return ['foo.txt,sha256=abc,123']
class EntryPoint:
name = "mytestplugin"
dist = None
dist = Dist()
def load(self):
raise ImportError("Don't hide me!")
return iter([EntryPoint()])
@@ -697,4 +702,4 @@ class TestOverrideIniArgs:
"ini2:url=/tmp/user2?a=b&d=e",
"ini3:True",
"ini4:False"
])
])