summaryrefslogtreecommitdiff
path: root/tests/processors
diff options
context:
space:
mode:
authorDavid Cramer <dcramer@gmail.com>2012-02-10 20:03:10 -0800
committerDavid Cramer <dcramer@gmail.com>2012-02-10 20:03:10 -0800
commitc1e4849337c823237905c01ba090be5f61e39ab1 (patch)
tree5f7e89643b64d8ff53c6d8d77611b70a6fa93bc0 /tests/processors
parentd03f76f6773c29ce1b9426242b4a54a541180a9e (diff)
downloadraven-c1e4849337c823237905c01ba090be5f61e39ab1.tar.gz
Update sanitize passwords processor to reflect correct behavior
Diffstat (limited to 'tests/processors')
-rw-r--r--tests/processors/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/processors/tests.py b/tests/processors/tests.py
index 37779ac..82917c5 100644
--- a/tests/processors/tests.py
+++ b/tests/processors/tests.py
@@ -44,7 +44,7 @@ class SantizePasswordsProcessorTest(TestCase):
def test_http(self):
data = {
'sentry.interfaces.Http': {
- 'data': {
+ 'body': {
'foo': 'bar',
'password': 'hello',
'the_secret': 'hello',
@@ -76,7 +76,7 @@ class SantizePasswordsProcessorTest(TestCase):
self.assertTrue('sentry.interfaces.Http' in result)
http = result['sentry.interfaces.Http']
- for n in ('data', 'env', 'headers', 'cookies'):
+ for n in ('body', 'env', 'headers', 'cookies'):
self.assertTrue(n in http)
vars = http[n]
self.assertTrue('foo' in vars)