6c09b5c659
* Clean up option parsing unit tests. * Remove unused unit test marker and import.
14 lines
448 B
Python
14 lines
448 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright: (c) 2018, Ansible Project
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
from __future__ import (absolute_import, division, print_function)
|
|
__metaclass__ = type
|
|
|
|
from ansible.cli.arguments import option_helpers as opt_help
|
|
|
|
|
|
def test_version():
|
|
ver = opt_help.version('ansible-cli-test')
|
|
assert 'ansible-cli-test' in ver
|
|
assert 'python version' in ver
|