summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2023-04-21 13:00:21 -0700
committerGitHub <noreply@github.com>2023-04-21 13:00:21 -0700
commitddf298097c26a855fa58137dba1931c28c4d22aa (patch)
tree733a75a7f411bc34bf829526634d13ebc616153d
parent82b47c8d5c2bd8d4fcb57db39449bf61d1f8f197 (diff)
downloadansible-ddf298097c26a855fa58137dba1931c28c4d22aa.tar.gz
[stable-2.15] tests: replace a mock import with unittest.mock (#80589) (#80603)
(cherry picked from commit f4615d69ad2ef1f024ba677ee6a77f49a4b7bfff) Co-authored-by: Maxwell G <maxwell@gtmx.me>
-rw-r--r--test/units/ansible_test/test_validate_modules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/ansible_test/test_validate_modules.py b/test/units/ansible_test/test_validate_modules.py
index ed2518d9c5..8397db7ddc 100644
--- a/test/units/ansible_test/test_validate_modules.py
+++ b/test/units/ansible_test/test_validate_modules.py
@@ -1,9 +1,9 @@
"""Tests for validate-modules regexes."""
from __future__ import annotations
-import mock
import pathlib
import sys
+from unittest import mock
import pytest