ansible_mitogen: Make ansible_mitogens.utils a package
Prep work for ansible_mitogen.utils.unsafepull/1057/head
parent
1c0253f201
commit
8059be7160
@ -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