From aa717661afa62948c775f0c099eebcc901f64fe6 Mon Sep 17 00:00:00 2001 From: Sam Doran Date: Thu, 8 Aug 2019 15:27:49 -0400 Subject: [PATCH] Move assertion in unit test inside loop (#60232) --- .../units/module_utils/common/validation/test_check_type_int.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/units/module_utils/common/validation/test_check_type_int.py b/test/units/module_utils/common/validation/test_check_type_int.py index aacbc8849bc..f07466dd184 100644 --- a/test/units/module_utils/common/validation/test_check_type_int.py +++ b/test/units/module_utils/common/validation/test_check_type_int.py @@ -31,4 +31,4 @@ def test_check_type_int_fail(): for case in test_cases: with pytest.raises(TypeError) as e: check_type_int(case) - assert 'cannot be converted to an int' in to_native(e) + assert 'cannot be converted to an int' in to_native(e)