ansible_mitogen: Make ansible_mitogens.utils a package
Prep work for ansible_mitogen.utils.unsafepull/1050/head
parent
d7979c3597
commit
813f253d6b
@ -0,0 +1,11 @@
|
|||||||
|
import unittest
|
||||||
|
|
||||||
|
import ansible_mitogen.utils
|
||||||
|
|
||||||
|
|
||||||
|
class AnsibleVersionTest(unittest.TestCase):
|
||||||
|
def test_ansible_version(self):
|
||||||
|
self.assertIsInstance(ansible_mitogen.utils.ansible_version, tuple)
|
||||||
|
self.assertIsInstance(ansible_mitogen.utils.ansible_version[0], int)
|
||||||
|
self.assertIsInstance(ansible_mitogen.utils.ansible_version[1], int)
|
||||||
|
self.assertEqual(2, ansible_mitogen.utils.ansible_version[0])
|
Loading…
Reference in New Issue