meta_package_manager.tests.test_managers module

class meta_package_manager.tests.test_managers.TestManagerDefinitions(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test the definition of all package managers.

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_ascii_id()[source]

All package manager IDs should be short ASCII strings.

test_number()[source]

Check all implemented package managers are accounted for.

test_platforms_type()[source]

Check that definitions returns supported platforms as a frozenset.

test_platforms_values()[source]

Check that definitions returns platforms with a registered label.

test_cli_path_type()[source]

Check that definitions returns the CLI path as a string.

test_cli_args_type()[source]

Check that definitions returns CLI args as a list.

test_cli_type()[source]

Check that all methods returning a CLI is a list.

test_outdated_type()[source]

Check that all outdated operations returns a dict.

class meta_package_manager.tests.test_managers.TestManagerPlatform(methodName='runTest')[source]

Bases: unittest.case.TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_macos()[source]
test_linux(*args, **kwargs)[source]
test_windows(*args, **kwargs)[source]