You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
304 B

import argparse
from enough.common import options
def test_set_options():
parser = argparse.ArgumentParser()
assert options.set_options(parser) == parser
args = parser.parse_args([])
driver = 'DRIVER'
args = parser.parse_args(['--driver', driver])
assert args.driver == driver