adapted unittest.mock import to python version 2.7
adapted unittest.mock import to python version 2.7

shakedel/tensorboard,shakedel/tensorboard,shakedel/tensorboard,shakedel/tensorboard,shakedel/tensorboard,shakedel/tensorboard