def METHOD_NAME(api):
    responses.add(responses.PATCH,
                  f'{RE_BASE}/users/1',
                  json={
                      'id': 1,
                      'surname': 'surname',
                      'name': 'name',
                      'email': 'test@domain.com',
                      'lockedOut': True,
                      'department': 'AD',
                      'biography': 'some biography',
                      'active': False,
                      'picture': [1, 2],
                      'roles': [1, 2],
                      'identifier': 'some identifier',
                      'provider': 'tenable',
                      'eulaVersion': 1
                  }
                  )
    resp = api.users.update('1',
                            name='name',
                            email='test@domain.com',
                            password='password',
                            surname='surname',
                            department='AD',
                            biography='some biography',
                            active=False,
                            picture=[1, 2])
    assert isinstance(resp, dict)
    assert resp['name'] == 'name'
    assert resp['active'] is False