def create_test_tc(params = None):
    params = create_params_tc() if params == None else params
    consumer_key = '12345'
    tc = ToolConsumer(consumer_key, 'secret', params)
    tc.launch_url = 'http://dr-chuck.com/ims/php-simple/tool.php'
    tc.timestamp = '1251600739'
    tc.nonce = 'c8350c0e47782d16d2fa48b2090c1d8f'
    tc.set_non_spec_param('lis_person_sourced_id', 'school.edu:user')
    tc.set_non_spec_param('basiclti_submit', 'Launch Endpoint with BasicLTI Data')
    tc._params_update = lambda:{
            'oauth_nonce': "c8350c0e47782d16d2fa48b2090c1d8f",
            'oauth_timestamp': "1251600739",
            'oauth_scheme': 'body',
        }


    return tc
Test IsGroupMember().
dataset/ETHPy150Open tophatmonocle/ims_lti_py/tests/test_helper.py/create_test_tc--crossover with--dataset/ETHPy150Open google/simian/src/tests/simian/mac/common/auth_test.py/AuthModuleTest.testIsGroupMemberWhenSettingsWithNoPassedEmail