validations-common/validations_common
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
..
callback_plugins Make file permission uniform and remove python shebangs 2020-03-25 12:37:27 +00:00
library Make mock import python 2.7 compatible 2020-04-15 13:00:14 +00:00
playbooks Add playbooks 2020-03-09 16:24:30 +01:00
roles Convert all of the fedora28 container usage to CentOS8 2020-04-03 06:12:55 +00:00
tests Make mock import python 2.7 compatible 2020-04-15 13:00:14 +00:00
__init__.py Fix pbr installation issues 2020-03-05 10:44:48 +01:00