From 49cdc565c5313e9882b6784780354100b88c070c Mon Sep 17 00:00:00 2001 From: Robin Roth Date: Fri, 15 Apr 2016 19:40:08 +0200 Subject: [PATCH] remove nose.tools use --- test/units/module_utils/test_distribution_version.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/units/module_utils/test_distribution_version.py b/test/units/module_utils/test_distribution_version.py index a913c5b6bb..e3efae5da8 100644 --- a/test/units/module_utils/test_distribution_version.py +++ b/test/units/module_utils/test_distribution_version.py @@ -29,7 +29,6 @@ from ansible.utils.unicode import to_bytes # for testing from ansible.compat.tests import unittest from ansible.compat.tests.mock import patch -from nose.tools import assert_equal # the module we are actually testing @@ -389,4 +388,4 @@ def _test_one_distribution(facts, module, testcase): assert key in generated_facts msg = 'Comparing value of %s on %s, should: %s, is: %s' %\ (key, testcase['name'], val, generated_facts[key]) - assert_equal(generated_facts[key], val, msg) + assert generated_facts[key] == val, msg