Module Import alias alias alias ImportFrom alias alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list decorator_list
N/A N/A unittest os sys mock Mock MagicMock N/A N/A N/A N/A sys path insert 1 ../ model.example.ExampleService ExampleService TestExampleService N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self exampleService N/A ExampleService None N/A test_getGreetingMessage_WithNameAdam_ReturnsStringWithNameAdam N/A N/A self N/A N/A N/A expected Hello Adam. Greetings to you! N/A actual N/A N/A N/A self exampleService getGreetingMessage name Adam N/A N/A N/A self assertEqual expected actual The expected string did not come back N/A test_getTwoPlusTwo_Returns4 N/A N/A self N/A N/A N/A expected 4 N/A actual N/A N/A N/A self exampleService getTwoPlusTwo N/A N/A N/A self assertEqual expected actual Expected 2 + 2 to equal 4 N/A N/A