Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 15, 2013
  1. Forgot nose

    authored
    In the workaround for the {[testenv]deps} issue, I forgot to include
    "nose" in the list of dependencies added to the other sections.  This
    broke the "cover" environment.
  2. Hard-code time zone

    authored
    Turns out that, in Python 2.6, time.strftime("%z") will try hard
    to format the correct timezone, even in the face of using
    time.gmtime() to use UTC.  Hardcoding the time zone value in the
    format string to make this do the right thing.
  3. Minor deps fix-up

    authored
    Rackspace's internal build procedure uses a version of tox that
    doesn't understand the syntax for interpolating variables from
    another section.  Work around it by simply duplicating the
    dependencies configuration.
Commits on Jan 11, 2013
  1. Bump to Beta status

    authored
  2. Fix a bug with the format of bark.useragent_ip

    authored
    The proxy processing code placed the raw IPAddress object into the
    bark.useragent_ip key of the WSGI environment, instead of converting
    it to a string.  This could not be discovered in the unit test, since
    proxy._parse_ip() was mocked out.
Commits on Jan 10, 2013
  1. Mock out the conversion cache

    authored
    The function tests need to mock out the format conversion cache, in
    order to prevent poisoning it when running the full test suite.
  2. Fix a default

    authored
    The syslog_handler() argument "facility" must default to a facility
    number, not the name of one.
Commits on Jan 9, 2013
  1. Eliminate an import loop

    authored
    Turns out handlers.py imports middleware.py, which causes an import
    loop when nose imports test_middleware.py all by itself.  Eliminate
    the import loop by using wrap_log_handler() instead of
    BarkMiddleware.__call__().  (This is less than ideal, but the log
    record fields we're trying to fill don't really make sense anyway.)
Commits on Jan 8, 2013
  1. Move unit tests into unit subdirectory

    authored
    This allows for the creation of a function subdirectory to contain
    function tests.
  2. Complete remaining tests on bark_filter()

    authored
    Create the tests necessary to completely unit test the bark_filter()
    function.  This completes the unit test suite for bark.
  3. Don't cover continue

    authored
    It seems that coverage checking doesn't properly count the continue
    statement, so mark it for exception from coverage statistics.
  4. Start tests for middleware.py

    authored
    Includes the full test suite for BarkMiddleware and a first test
    case for bark_filter(), which is more complicated anyway.
Commits on Dec 21, 2012
  1. Walk the proxy list.

    authored
  2. Add returns for testing purposes

    authored
    For testing purposes, ProxyConfig.__call__() now has return values.
  3. Update tests.

    authored
  4. Replace permitted() with __contains__()

    authored
    This also makes use of the new logic, predicated on accepted and
    excluded, instead of a single set remotes.
  5. Can't compute remotes using set manipulation

    authored
    I speculate the set sizes were too large, or something equally
    obvious.  Solution was to split remotes into accepted and
    excluded.
Something went wrong with that request. Please try again.