mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
tests: Fix test_urls after pytest conversion
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
3b96c32c49
commit
af63df9793
@ -234,7 +234,7 @@ def _make_tests():
|
||||
|
||||
for key, testdata in sorted(urls.items()):
|
||||
def _make_wrapper(d):
|
||||
return lambda _self: _testURL(d)
|
||||
return lambda: _testURL(d)
|
||||
methodname = "test_URL%s" % key.replace("-", "_")
|
||||
globals()[methodname] = _make_wrapper(testdata)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user