def test_hub_plugin_info_different_pypi(): hub.hub_plugin_info.cache_clear() info, is_available_in_conda_forge = hub.hub_plugin_info('napari-SVG', conda_forge=True) assert is_available_in_conda_forge assert info.name == 'napari-svg' assert info.version == '0.1.5'
def test_hub_plugin_info_empty(): hub.hub_plugin_info.cache_clear() info, is_available_in_conda_forge = hub.hub_plugin_info('napari-SVG', conda_forge=True) assert not is_available_in_conda_forge assert info.version == '0.1.6'