ewoks.tests.requirements.test_managers#

Tests that apply to all package managers.

Functions

test_add_ewoks(fast_manager, ...)

Ewoks is added without changing the versions of the requirements it depends on.

test_available(manager)

test_create_environment(manager_case, ...)

test_detect_manager(manager_case, ...)

The package manager that installed the distributions is detected when no package manager is active.

test_environment_location(manager, tmp_path)

The package manager provides the location of a named environment.

test_ewoks_already_installed(manager, ...)

Ewoks is installed in the current python environment.

test_gather_requirements(manager, ...)

Requirements are gathered from the current python environment.

test_in_place_installer(manager_case, ...)

A package manager that cannot install in the current environment is not used to do so, even if that means none is available.

test_install_distributions(manager, ...)

Without files, the python distributions are installed.

test_install_files_failure(...)

The python distributions are installed when the files of the package manager cannot be installed.

test_install_in_place_not_supported(...)

A package manager that is explicitly requested is not replaced.

test_install_native(manager, manager_case, ...)

Install with the files generated by the package manager itself.

test_install_not_confirmed(...)

Nothing is created when an installation is not confirmed.

test_install_nothing(manager, manager_case, ...)

Nothing is installed so the environment is not needed.

test_install_without_name(fast_manager_case)

A root directory and cleaning do not define an environment on their own.

test_is_active(manager)

test_not_available(manager_case, monkeypatch)

test_select_manager(manager_case)

uncached_distribution_count()

The distributions of the current python environment are counted once.