Belle II Software  release-08-01-10
TolerateMissingKeyFormatterTest Class Reference
Inheritance diagram for TolerateMissingKeyFormatterTest:
Collaboration diagram for TolerateMissingKeyFormatterTest:

Public Member Functions

def setUp (self)
 
def test_missing_key (self)
 
def test_missing_key_attribute (self)
 
def test_missing_key_item (self)
 
def test_missing_key_with_str_conversion (self)
 
def test_missing_key_with_repr_conversion (self)
 
def test_missing_key_with_conversion_and_format (self)
 
def test_missing_key_with_format (self)
 

Public Attributes

 formatter
 Use the custom string formatter that tolerates missing values for keywords.
 

Detailed Description

Test the string formatter for cases where the keys are missing

Definition at line 128 of file tolerate_missing_key_formatter.py.

Member Function Documentation

◆ setUp()

def setUp (   self)
Prepare for the string-formatter test

Definition at line 131 of file tolerate_missing_key_formatter.py.

◆ test_missing_key()

def test_missing_key (   self)
Test for a missing key

Definition at line 136 of file tolerate_missing_key_formatter.py.

◆ test_missing_key_attribute()

def test_missing_key_attribute (   self)
Test for a missing key attribute

Definition at line 142 of file tolerate_missing_key_formatter.py.

◆ test_missing_key_item()

def test_missing_key_item (   self)
Test for a missing key item

Definition at line 148 of file tolerate_missing_key_formatter.py.

◆ test_missing_key_with_conversion_and_format()

def test_missing_key_with_conversion_and_format (   self)
Test for a missing key item

Definition at line 166 of file tolerate_missing_key_formatter.py.

◆ test_missing_key_with_format()

def test_missing_key_with_format (   self)
Test for a missing key item

Definition at line 172 of file tolerate_missing_key_formatter.py.

◆ test_missing_key_with_repr_conversion()

def test_missing_key_with_repr_conversion (   self)
Test for a missing key item

Definition at line 160 of file tolerate_missing_key_formatter.py.

◆ test_missing_key_with_str_conversion()

def test_missing_key_with_str_conversion (   self)
Test for a missing key item

Definition at line 154 of file tolerate_missing_key_formatter.py.


The documentation for this class was generated from the following file: