MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_import_plugin_unicode_name

Function test_import_plugin_unicode_name

testing/acceptance_test.py:985–990  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

983
984
985def test_import_plugin_unicode_name(pytester: Pytester) -> None:
986 pytester.makepyfile(myplugin="")
987 pytester.makepyfile("def test(): pass")
988 pytester.makeconftest("pytest_plugins = ['myplugin']")
989 r = pytester.runpytest()
990 assert r.ret == 0
991
992
993def test_pytest_plugins_as_module(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 3

makepyfileMethod · 0.45
makeconftestMethod · 0.45
runpytestMethod · 0.45

Tested by

no test coverage detected