class documentation

Undocumented

Method context_factory Return the type of context we are testing.
Method matched_input_output_pair Return values for testing dictionary get/set, etc.
Method test_contexts_list_changes Checking if change in items in contexts updates the multi-context
Method test_keys Tests to ensure 2 contexts that contain overlapping sets of keys appear to have one set of keys where each key is unique (i.e. a 'set')
Method test_set_rebind_between_contexts Can we rebind variables between contained contexts?

Inherited from AbstractContextTestCase:

Method failUnlessEqual Fail if the two objects are unequal as determined by the '==' operator.
Method key_name Return name of variables
Method run Undocumented
Method test_del_existing_item Can we delete an item from the dictionary?
Method test_del_non_existing_item_raises_exception Does deleting a non-existent item raise a NameError excetion?
Method test_eval_with_bad_name_raises_nameerror If a name is missing in the eval statement, is NameError raised?
Method test_get_set_like_dict Can you read and write values reliably?
Method test_has_key_false Does has_key respond correctly when it doesn't have a key?
Method test_has_key_true Does has_key respond correctly when it has a key?
Method test_iter_len Can you take a len of a context?
Method test_set_rebind Does rebinding a variable work?
Method test_simple_eval_works Does the context work as an evaluation context Python's eval()?
Method type2test Return a context to be tested by BasicTestMappingProtocol.
Method unmatched_pair Return a pair of values that are different.
Method _del_existing_item Can we delete an item from the dictionary?
Method _del_non_existing_item_raises_exception Does deleting a non-existent item raise a KeyError excetion?
Method _eval_with_bad_name_raises_nameerror If a name is missing in the eval statement, is NameError raised?
Method _get_set_like_dict Can you read and write values reliably?
Method _simple_eval_works A Context should work as an evaluation context Python's eval()

Inherited from BasicTestMappingProtocol (via AbstractContextTestCase):

Method __init__ Undocumented
Method test_bool Undocumented
Method test_constructor Undocumented
Method test_get Undocumented
Method test_getitem Undocumented
Method test_items Undocumented
Method test_len Undocumented
Method test_pop Undocumented
Method test_popitem Undocumented
Method test_read Undocumented
Method test_setdefault Undocumented
Method test_update Undocumented
Method test_values Undocumented
Method test_write Undocumented
Instance Variable inmapping Undocumented
Instance Variable other Undocumented
Instance Variable reference Undocumented
Method _empty_mapping Return an empty mapping object
Method _full_mapping Return a mapping object with the value contained in data dictionary
Method _reference Return a dictionary of values which are invariant by storage in the object under test.
def test_contexts_list_changes(self): (source)

Checking if change in items in contexts updates the multi-context

def test_keys(self): (source)

Tests to ensure 2 contexts that contain overlapping sets of keys appear to have one set of keys where each key is unique (i.e. a 'set')

def test_set_rebind_between_contexts(self): (source)

Can we rebind variables between contained contexts?