class documentation

class NameFilterContextTestCase(unittest.TestCase): (source)

View In Hierarchy

Test whether the context filters values by their name appropriately. Note: We can't run all the AbstractContextTestCases on this class because it is picky about what variables it allows to be assigned into it, and many of the tests will fail.

Method setUp Undocumented
Method tearDown Undocumented
Method test_allows Does the allow method filter names appropriately?
Method test_default_list Do all NameFilterContext get their own list by default?
Method test_set_allowed_name Does the context accept names that aren't in its name list?
Method test_set_disallowed_name Does the context reject names that aren't in its name list?
def setUp(self): (source)

Undocumented

def tearDown(self): (source)

Undocumented

def test_allows(self): (source)

Does the allow method filter names appropriately?

def test_default_list(self): (source)

Do all NameFilterContext get their own list by default? Note: This is really a test that the default value to an Any trait is not shared between objects if it is a list...

def test_set_allowed_name(self): (source)

Does the context accept names that aren't in its name list?

def test_set_disallowed_name(self): (source)

Does the context reject names that aren't in its name list?