class documentation

class TestParseMaxAge: (source)

View In Hierarchy

Tests for sphinx.parseMaxAge

Method test_toTimedelta A parsed max age dictionary consists of valid arguments to datetime.timedelta, and the constructed datetime.timedelta matches the specification.
@given(amount=maxAgeAmounts, unit=maxAgeUnits)
def test_toTimedelta(self, amount, unit): (source)

A parsed max age dictionary consists of valid arguments to datetime.timedelta, and the constructed datetime.timedelta matches the specification.

Parameters
amount:intUndocumented
unit:strUndocumented