Skip to main content

DummyList

Dummy list class for faking storage of results in unittest.TestResult.

Methods


append()

@classmethod
def append(
item: Any
) - > None

Appends an item to the dummy list. This method is a no-op used to satisfy the interface requirements for result storage during unit testing without actually persisting data.

Parameters

NameTypeDescription
itemAnyThe test result object or data entry to be ignored by the dummy storage.

Returns

TypeDescription
NoneNothing is returned as this is a placeholder operation.