validations-common/validations_common/library
Javier Pena 0f88309091 Make mock import python 2.7 compatible
In python3.x mock is now part of unittest library.
For being still compatible with python 2.7 we need to
catch import error when trying to import unittest.mock.

Also add an __init__.py file in validations_common/library,
to allow all unit tests to import successfully.

This is similar to [1] for validations-libs.

[1]- https://review.opendev.org/716597

Change-Id: I6a81dc2640e9c4af3a07158bea95ebaec9fd466b
2020-04-15 13:00:14 +00:00
..
__init__.py Make mock import python 2.7 compatible 2020-04-15 13:00:14 +00:00
advanced_format.py Make file permission uniform and remove python shebangs 2020-03-25 12:37:27 +00:00
check_package_update.py Make file permission uniform and remove python shebangs 2020-03-25 12:37:27 +00:00
haproxy_conf.py Make file permission uniform and remove python shebangs 2020-03-25 12:37:27 +00:00
hiera.py Make file permission uniform and remove python shebangs 2020-03-25 12:37:27 +00:00
reportentry.py Add reportentry.py custom module 2020-03-18 15:04:00 +01:00
validations_read_ini.py Make file permission uniform and remove python shebangs 2020-03-25 12:37:27 +00:00
warn.py Make file permission uniform and remove python shebangs 2020-03-25 12:37:27 +00:00