Create a 3rd explicit shard for unit tests.

More accurately, this creates a 4th shard because the
last shard is always the default.
This commit is contained in:
Ben Patterson
2016-04-26 15:24:50 -04:00
committed by Clinton Blackburn
parent afc5b47ebe
commit d76f50d93b
41 changed files with 98 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import json
from ddt import ddt, data, unpack
from mock import sentinel
from nose.plugins.attrib import attr
from django.contrib.auth.models import User
from django.test.client import RequestFactory
@@ -36,6 +37,7 @@ def expect_failure_with_message(message):
return test_decorator
@attr('shard_3')
@ddt
@override_settings(
TRACKING_SEGMENTIO_WEBHOOK_SECRET=SECRET,