1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

remove nose.tools use

This commit is contained in:
Robin Roth 2016-04-15 19:40:08 +02:00
parent 4088aa2b4c
commit 49cdc565c5

View file

@ -29,7 +29,6 @@ from ansible.utils.unicode import to_bytes
# for testing # for testing
from ansible.compat.tests import unittest from ansible.compat.tests import unittest
from ansible.compat.tests.mock import patch from ansible.compat.tests.mock import patch
from nose.tools import assert_equal
# the module we are actually testing # the module we are actually testing
@ -389,4 +388,4 @@ def _test_one_distribution(facts, module, testcase):
assert key in generated_facts assert key in generated_facts
msg = 'Comparing value of %s on %s, should: %s, is: %s' %\ msg = 'Comparing value of %s on %s, should: %s, is: %s' %\
(key, testcase['name'], val, generated_facts[key]) (key, testcase['name'], val, generated_facts[key])
assert_equal(generated_facts[key], val, msg) assert generated_facts[key] == val, msg