summaryrefslogtreecommitdiff
path: root/tests/processors
diff options
context:
space:
mode:
authorDavid Cramer <dcramer@gmail.com>2012-04-26 14:19:49 -0700
committerDavid Cramer <dcramer@gmail.com>2012-04-26 14:19:49 -0700
commit51ebccec722ee7de2719e8d03e5727ec301d37fe (patch)
tree4091c95accba2c7cd958677d72198184e777916e /tests/processors
parentd45a4981a347f8f6a1850ca16f069d81b1e3d62f (diff)
downloadraven-51ebccec722ee7de2719e8d03e5727ec301d37fe.tar.gz
Body should be data in processors1.7.5
Diffstat (limited to 'tests/processors')
-rw-r--r--tests/processors/tests.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/processors/tests.py b/tests/processors/tests.py
index b3337cf..7286936 100644
--- a/tests/processors/tests.py
+++ b/tests/processors/tests.py
@@ -45,7 +45,7 @@ class SantizePasswordsProcessorTest(TestCase):
def test_http(self):
data = {
'sentry.interfaces.Http': {
- 'body': {
+ 'data': {
'foo': 'bar',
'password': 'hello',
'the_secret': 'hello',
@@ -77,7 +77,7 @@ class SantizePasswordsProcessorTest(TestCase):
self.assertTrue('sentry.interfaces.Http' in result)
http = result['sentry.interfaces.Http']
- for n in ('body', 'env', 'headers', 'cookies'):
+ for n in ('data', 'env', 'headers', 'cookies'):
self.assertTrue(n in http)
vars = http[n]
self.assertTrue('foo' in vars)
@@ -110,10 +110,10 @@ class SantizePasswordsProcessorTest(TestCase):
class RemovePostDataProcessorTest(TestCase):
- def test_does_remove_body(self):
+ def test_does_remove_data(self):
data = {
'sentry.interfaces.Http': {
- 'body': 'foo',
+ 'data': 'foo',
}
}
@@ -122,11 +122,11 @@ class RemovePostDataProcessorTest(TestCase):
self.assertTrue('sentry.interfaces.Http' in result)
http = result['sentry.interfaces.Http']
- self.assertFalse('body' in http)
+ self.assertFalse('data' in http)
class RemoveStackLocalsProcessorTest(TestCase):
- def test_does_remove_body(self):
+ def test_does_remove_data(self):
data = {
'sentry.interfaces.Stacktrace': {
'frames': [