Move unit test compat code out of lib/ansible/. (#46996)

* Move ansible.compat.tests to test/units/compat/.
* Fix unit test references to ansible.compat.tests.
* Move builtins compat to separate file.
* Fix classification of test/units/compat/ dir.
This commit is contained in:
Matt Clay
2018-10-12 20:01:14 -07:00
committed by GitHub
parent 6e2897647c
commit 3033fd96b0
462 changed files with 773 additions and 776 deletions

View File

@@ -2,7 +2,7 @@
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
import sys
from ansible.compat.tests.mock import patch, Mock
from units.compat.mock import patch, Mock
# FIXME: These should be done inside of a fixture so that they're only mocked during
# these unittests