tests.test_deps

Module Contents

Classes

BuildRequirementsTxtTestSuite

Test cases for ‘tests/requirements.txt’.

Data

__module__

API

tests.test_deps.__module__[source]

‘tests’

class tests.test_deps.BuildRequirementsTxtTestSuite(methodName='runTest')[source][source]

Bases: context.BasicUsageTestSuite

Test cases for ‘tests/requirements.txt’.

Initialization

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.

__module__[source]

‘tests.test_deps’

test_requirements_path_exists()[source][source]

Test that ‘tests/requirements.txt’ exists.

test_requirements_file_exists()[source][source]

Test that ‘tests/requirements.txt’ exists.

test_requirements_format()[source][source]

Validate the format of ‘tests/requirements.txt’.

test_requirements_installation()[source][source]

Attempt to install dependencies from ‘tests/requirements.txt’ in a virtual env.