class documentation
class MultiContextTestCase(AbstractContextTestCase): (source)
Known subclasses: codetools.contexts.tests.multi_context_with_geo_context_test_case.MultiContextWithGeoContextTestCase
Undocumented
Method | context |
Return the type of context we are testing. |
Method | matched |
Return values for testing dictionary get/set, etc. |
Method | test |
Checking if change in items in contexts updates the multi-context |
Method | test |
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 |
Can we rebind variables between contained contexts? |
Inherited from AbstractContextTestCase
:
Method | fail |
Fail if the two objects are unequal as determined by the '==' operator. |
Method | key |
Return name of variables |
Method | run |
Undocumented |
Method | test |
Can we delete an item from the dictionary? |
Method | test |
Does deleting a non-existent item raise a NameError excetion? |
Method | test |
If a name is missing in the eval statement, is NameError raised? |
Method | test |
Can you read and write values reliably? |
Method | test |
Does has_key respond correctly when it doesn't have a key? |
Method | test |
Does has_key respond correctly when it has a key? |
Method | test |
Can you take a len of a context? |
Method | test |
Does rebinding a variable work? |
Method | test |
Does the context work as an evaluation context Python's eval()? |
Method | type2test |
Return a context to be tested by BasicTestMappingProtocol. |
Method | unmatched |
Return a pair of values that are different. |
Method | _del |
Can we delete an item from the dictionary? |
Method | _del |
Does deleting a non-existent item raise a KeyError excetion? |
Method | _eval |
If a name is missing in the eval statement, is NameError raised? |
Method | _get |
Can you read and write values reliably? |
Method | _simple |
A Context should work as an evaluation context Python's eval() |
Inherited from BasicTestMappingProtocol
(via AbstractContextTestCase
):
Method | __init__ |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Instance Variable | inmapping |
Undocumented |
Instance Variable | other |
Undocumented |
Instance Variable | reference |
Undocumented |
Method | _empty |
Return an empty mapping object |
Method | _full |
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. |
overrides
codetools.contexts.tests.abstract_context_test_case.AbstractContextTestCase.context_factory
overridden in
codetools.contexts.tests.multi_context_with_geo_context_test_case.MultiContextWithGeoContextTestCase
Return the type of context we are testing.
overridden in
codetools.contexts.tests.multi_context_with_geo_context_test_case.MultiContextWithGeoContextTestCase
Return values for testing dictionary get/set, etc.
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')