diff options
author | David Cramer <dcramer@gmail.com> | 2012-02-10 20:03:10 -0800 |
---|---|---|
committer | David Cramer <dcramer@gmail.com> | 2012-02-10 20:03:10 -0800 |
commit | c1e4849337c823237905c01ba090be5f61e39ab1 (patch) | |
tree | 5f7e89643b64d8ff53c6d8d77611b70a6fa93bc0 /tests/processors | |
parent | d03f76f6773c29ce1b9426242b4a54a541180a9e (diff) | |
download | raven-c1e4849337c823237905c01ba090be5f61e39ab1.tar.gz |
Update sanitize passwords processor to reflect correct behavior
Diffstat (limited to 'tests/processors')
-rw-r--r-- | tests/processors/tests.py | 4 |
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) |