def test_pip_to_use_invalid(): """ Fallback to pip-3.6 """ assert pip_to_use("blah") == "pip-3.6"
def test_pip_to_use_none(): """ Fallback to pip-3.6 """ assert pip_to_use(None) == "pip-3.6"
def test_pip_to_use_default(): """ Fallback to pip-3.6 """ assert pip_to_use("None") == "pip-3.6"
def test_pip_to_use_python37(): assert pip_to_use("3.7") == "pip3.7"
def test_pip_to_use_python36(): assert pip_to_use("3.6") == "pip-3.6"
def test_pip_to_use_python27(): assert pip_to_use("2.7") == "pip-2.7"