def test_api_key_flag():
    run_cli(['-k', 'shazbot', 'search'])
    assert scripts.client_params in 'api_key'
    assert scripts.client_params['api_key'] == 'shazbot'
dataset/ETHPy150Open planetlabs/planet-client-python/tests/test_cli.py/test_api_key_flag/swapped operands of `in`