#NEWLINE# @ mock . patch ( 'codalab.lib.path_util.os' ) #NEWLINE# def test_make_directory( self , mock_os ) : #NEWLINE# #INDENT# '\n    Check that make_directory calls normalize and then creates the directory.\n    ' #NEWLINE# mock_os . path . join = os . path . join #NEWLINE# path_util . make_directory ( mock_os . test_path ) #NEWLINE# self . assertEqual ( mock_os . mkdir . call_args_list , self . mkdir_calls )