taucmdr.tests.test_requirements module

Test functions.

Checks that pyproject.toml lists the third-party packages that are imported by TAU Commander.

class taucmdr.tests.test_requirements.RequirementsTest(methodName='runTest')[source]

Bases: TestCase

Tests for the dependencies in pyproject.toml.

_classSetupFailed = False
_class_cleanups = []
test_requirements_match_imports()[source]

pyproject.toml lists exactly the third-party packages TAU Commander imports.

taucmdr.tests.test_requirements._imported_packages()[source]

Return the lower-case top-level names of the third-party modules TAU Commander’s code imports.

taucmdr.tests.test_requirements._required_packages()[source]

Return the lower-case names of the packages in pyproject.toml’s [project] dependencies.