def pytest_addoption(parser):
    parser.addoption("--test_device", action="store", dest="test_device", type=str,
                     help="Specify the platform type to test on")
Add test_device option to py.test invocations
dataset/ETHPy150Open ktbyers/netmiko/tests/conftest.py/pytest_addoption