Exemplo n.º 1
0
def test_set_and_get_client_id():
    service_context = ServiceContext()
    service_context.client_id = 'myself'
    srvcnx2 = ServiceContext().load(service_context.dump())
    assert srvcnx2.client_id == 'myself'
Exemplo n.º 2
0
def test_set_and_get_client_id():
    ci = ServiceContext()
    ci.client_id = 'myself'
    assert ci.client_id == 'myself'