# Path: hq/verbosity.py
# def set_verbosity(verbose):
#     setattr(settings, 'VERBOSE', verbose)


import os
import sys
from hq.verbosity import set_verbosity

sys.path.insert(0, os.path.abspath('..'))



def pytest_addoption(parser):
    parser.addoption("--gabby",
                     action="store_true",
                     help="Print verbose (debug) information to stderr")


def pytest_configure(config):

# Path: hq/verbosity.py
# def set_verbosity(verbose):
#     setattr(settings, 'VERBOSE', verbose)


# Path: test/conftest.py
import os
import sys
from hq.verbosity import set_verbosity


sys.path.insert(0, os.path.abspath('..'))



def pytest_addoption(parser):
    parser.addoption("--gabby",
                     action="store_true",
                     help="Print verbose (debug) information to stderr")


def pytest_configure(config):

    set_verbosity(bool(config.getvalue('--gabby')))