Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 20, 2014
  1. @rlr

    Move settings_test.py to kitsune/.

    rlr authored
Commits on Feb 26, 2014
  1. @rlr
Commits on Nov 12, 2013
  1. @willkg

    Add setting to skip migrations when building test db

    willkg authored
    We periodically add data via data migrations. However with test-utils,
    the first time you run tests that depend on that new data, they work but
    subsequent tests will fail.
    
    However, this is the same situation we had with schematic. We use model
    makers to generate data we need for tests.
    
    Ergo, there's no reason to run the south migrations to create the test
    db.
    
    This shuts that off.
Commits on Oct 17, 2013
  1. @mythmon
Commits on Sep 25, 2013
  1. @rlr

    Fix @ssl_required to look at SESSION_COOKIE_SECURE

    rlr authored
    Instead of triggering on DEBUG=False, it now triggers on
    SESSION_COOKIE_SECURE=True.
Commits on Sep 11, 2013
  1. @willkg
Commits on Aug 19, 2013
  1. @mythmon

    [Bug 875418] Move settings_test back to root.

    mythmon authored
    This is imported by another package, so we don't get to control where it
    lives. Maybe this means the other package needs changing.
Commits on Jun 3, 2013
  1. @rlr
Commits on Feb 28, 2013
  1. @willkg
Commits on Feb 8, 2013
  1. @rlr
Commits on Jan 29, 2013
  1. @willkg

    [bug #809449] Fix index name used in tests

    willkg authored
    This actually does a bunch of things.
    
    1. Fixes the two lines that were hardcoding the index name used to
       "sumo-test" to use the ES_INDEX_PREFIX as well. This allows us
       to put the build number in the ES_INDEX_PREFIX and thus jenkins
       won't use the same index for multiple tests running at the same
       time.
    
    2. Changes a bunch of the test infrastructure to use override_settings
       rather than settings_test.py and mocks.
    
    3. Fixes some users app tests that were interesting.
Commits on Nov 30, 2012
  1. @mythmon
Commits on Feb 27, 2012
  1. @rlr

    [bug 727086] Add unique visitors chart to KPI dashboard.

    rlr authored
    * Created a webtrends API helper.
    * Refactored existing API calls in dashboards app to use it for getting
      wiki reports.
    * Cron job to call webtrends API and save the data to the metrics model.
    * API call to get this data.
    * UI to display the chart.
Commits on Feb 21, 2012
  1. @willkg
Commits on Feb 14, 2012
  1. @rlr @willkg

    [bug 724849] Implement read/write index separation

    rlr authored willkg committed
    * Splits searching and indexing so they use different index
      settings.
    * Rename eswhazzup to esstatus and make it more useful.
    * Make search admin more useful so it's easier to spot problems.
    * Updates eswhazzup to be more useful and nixes the cluster status
    * Add x per 1000 documents calculations to reindexing output.
    * Fixes wiki document indexing so that when doing a reindexing, we're
      not calling unindex for things.
    * Add esdelete command.
    * Cleans up some code to make it more obvious and less errory.
    * Update documentation.
    * Update default settings.
Commits on Dec 13, 2011
  1. @willkg

    Fix flag in settings_test

    willkg authored
    This makes the flag in settings_test.py match settings.py.
  2. @willkg

    [bug 710279] Fix test_creator_nums_redis test

    willkg authored
    KarmaManager() gets created before we stomp on the REDIS_BACKENDS settings
    with REDIS_TEST_BACKENDS.  This switches all that testy stuff around to use
    settings_test.py which stomps on everything before modules get imported.
Commits on Dec 2, 2011
  1. @willkg

    Add USE_ELASTIC

    willkg authored
    By default when running tests USE_ELASTIC is False.  It gets switched to
    True in ElasticTestMixin.  This adds checks for USE_ELASTIC to the
    models post_save and pre_delete signal handlers.
Commits on Dec 1, 2011
  1. @willkg

    Use settings_test rather than depend on env var

    willkg authored
    Instead of using DJANGO_ENVIRONMENT environment variable, we put the
    settings for indexes for Elastic in settings_test.py.
Something went wrong with that request. Please try again.