Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_find_entry_point(self, tmpdir, package_location):
"""Test that we can find console_script metadata."""
install(["-t", str(tmpdir), str(package_location)])
assert find_entry_point(Path(tmpdir), "hello") == "hello:main"