Module Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Dict Str Str Num Num Assign NameStore Dict Str Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Dict Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Str Dict Str Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Dict Str Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Dict Assign SubscriptStore NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Delete SubscriptDel NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Dict Str Str Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad Str body Assign AttributeStore NameLoad attr Str Assign SubscriptStore NameLoad Index Str Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list decorator_list
N/A N/A unittest N/A mock swiftlm.utils.metricdata MetricData swiftlm.utils.values Severity TestMetricData N/A N/A unittest TestCase N/A N/A dimensions N/A dimen1 dimen2 1 2 N/A messages N/A ok fail ok fail test_create_metricdata N/A N/A self N/A N/A N/A r N/A MetricData name name messages N/A N/A N/A N/A self assertEqual swiftlm.name N/A r name N/A N/A N/A self assertEqual N/A r message N/A N/A N/A self assertEqual None N/A r value N/A N/A N/A self assertIn hostname N/A r dimensions N/A test_equality_behaviour N/A N/A self N/A N/A N/A m_a N/A MetricData name N/A self messages N/A self dimensions N/A m_b N/A MetricData name N/A self messages N/A self dimensions N/A N/A N/A self assertEqual m_a m_b N/A m_a N/A MetricData name N/A self messages N/A self dimensions N/A m_b N/A MetricData not-name N/A self messages N/A self dimensions N/A N/A N/A self assertNotEqual m_a m_b N/A m_a N/A MetricData name N/A a 1 N/A self dimensions N/A m_b N/A MetricData name N/A b 2 N/A self dimensions N/A N/A N/A self assertEqual m_a m_b Message dictionaries should not affect equality of MetricData instances N/A m_a N/A MetricData name N/A self messages N/A self dimensions N/A m_b N/A MetricData name N/A self messages N/A N/A N/A N/A self assertNotEqual m_a m_b N/A m_a N/A MetricData name N/A self messages N/A self dimensions N/A m_b N/A MetricData name N/A self messages N/A self dimensions N/A N/A m_a message ok N/A N/A m_b message fail N/A N/A N/A self assertNotEqual m_a m_b N/A m_a N/A MetricData name N/A self messages N/A self dimensions N/A m_b N/A MetricData name N/A self messages N/A self dimensions N/A N/A m_a value 1 N/A N/A m_b value 2 N/A N/A N/A self assertNotEqual m_a m_b N/A test_dict_behaviour N/A N/A self N/A N/A N/A r N/A MetricData name name messages N/A N/A N/A r N/A test 1000 N/A N/A N/A self assertEqual 1000 N/A r N/A test N/A N/A r N/A test N/A N/A N/A self assertNotIn test r N/A test_response_child N/A N/A self N/A N/A N/A r N/A MetricData name name messages N/A a b N/A N/A r N/A test test N/A c N/A N/A r child dimensions N/A test2 test2 N/A N/A N/A self assertIn test c N/A N/A N/A self assertIn test2 c N/A N/A N/A self assertDictEqual N/A a b N/A c messages N/A N/A N/A self assertEqual swiftlm.name N/A c name N/A c N/A N/A r child N/A N/A N/A self assertIn test c N/A N/A N/A self assertNotIn test2 c N/A test_message N/A N/A self N/A N/A N/A r N/A MetricData name name messages N/A ok test test message test with meta {test_value} N/A N/A N/A self assertEqual N/A r message N/A N/A r value N/A Severity ok N/A N/A N/A self assertEqual test message N/A r message N/A N/A N/A self assertRaisesRegexp ValueError requires a dimension value N/A N/A N/A r message test N/A N/A r N/A test_value 123 N/A N/A r message test N/A N/A N/A self assertEqual test with meta 123 N/A str r N/A N/A