def configure_logging(verbosity):
    log_level = max(logging.DEBUG, logging.WARNING - logging.DEBUG*verbosity)
    logging.basicConfig(stream=sys.stderr, level=log_level)
Test that mixins from abstract classes work and also proxy models.
dataset/ETHPy150Open planetlabs/planet-client-python/planet/scripts/__init__.py/configure_logging--crossover with--dataset/ETHPy150Open django-salesforce/django-salesforce/tests/test_mixin/tests.py/MixinTest.test_mixin