Fixup things after rebase
Some changes to make things work on top of current features branch.
This commit is contained in:
@@ -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"
|
||||
])
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user