Module Expr Str Import alias Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args defaults body Return Str decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Pass decorator_list
N/A N/A A very basic test class derived from mox.MoxTestBase, used by mox_test.py.

The class defined in this module is used to test the features of
MoxTestBase and is not intended to be a standalone test.  It needs to
be in a separate module, because otherwise the tests in this class
(which should not all pass) would be executed as part of the
mox_test.py test suite.

See mox_test.MoxTestBaseTest for how this class is actually used.
 N/A os N/A mox ExampleMoxTestMixin N/A object N/A N/A Mix-in class for mox test case class.

  It stubs out the same function as one of the test methods in
  the example test case.  Both tests must pass as meta class wraps
  test methods in all base classes.
   testStat N/A N/A self N/A N/A N/A N/A N/A N/A self mox StubOutWithMock os stat N/A N/A N/A os stat N/A self DIR_PATH N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A os stat N/A self DIR_PATH N/A N/A ExampleMoxTest N/A N/A mox MoxTestBase ExampleMoxTestMixin N/A N/A DIR_PATH /path/to/some/directory testSuccess N/A N/A self N/A N/A N/A N/A N/A N/A self mox StubOutWithMock os listdir N/A N/A N/A os listdir N/A self DIR_PATH N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A os listdir N/A self DIR_PATH N/A testExpectedNotCalled N/A N/A self N/A N/A N/A N/A N/A N/A self mox StubOutWithMock os listdir N/A N/A N/A os listdir N/A self DIR_PATH N/A N/A N/A N/A self mox ReplayAll N/A testUnexpectedCall N/A N/A self N/A N/A N/A N/A N/A N/A self mox StubOutWithMock os listdir N/A N/A N/A os listdir N/A self DIR_PATH N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A os listdir /path/to/some/other/directory N/A N/A N/A os listdir N/A self DIR_PATH N/A testFailure N/A N/A self N/A N/A N/A N/A N/A self assertTrue False N/A testStatOther N/A N/A self N/A N/A N/A N/A N/A N/A self mox StubOutWithMock os stat N/A N/A N/A os stat N/A self DIR_PATH N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A os stat N/A self DIR_PATH N/A testHasStubs N/A N/A self N/A N/A N/A listdir_list N/A MockListdir N/A N/A directory N/A N/A N/A N/A N/A listdir_list append directory N/A N/A N/A N/A N/A self stubs Set os listdir MockListdir N/A N/A N/A os listdir N/A self DIR_PATH N/A N/A N/A self assertEqual N/A N/A self DIR_PATH listdir_list N/A N/A TestClassFromAnotherModule N/A object N/A __init__ N/A N/A self N/A N/A N/A None N/A Value N/A N/A self N/A N/A N/A Not mock N/A N/A CallableClass N/A object N/A __init__ N/A N/A self one two nine N/A None N/A N/A N/A __call__ N/A N/A self one N/A N/A N/A Not mock N/A Value N/A N/A N/A N/A N/A Not mock N/A N/A MyTestFunction N/A N/A one two nine N/A None N/A N/A N/A