Permalink
Browse files

Fix test_detect_reseller_request

  • Loading branch information...
1 parent e94aeb7 commit c1462121dd524216f41387f433982cc48f6d1449 @cschwede cschwede committed Apr 3, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 test_swauth/unit/test_middleware.py
@@ -478,8 +478,7 @@ def test_detect_reseller_request(self):
cache_entry = (time()+3600, '.reseller_admin')
req.environ['swift.cache'].set(cache_key, cache_entry)
resp = req.get_response(self.test_auth)
- print req.environ
- self.assertTrue(req.environ.get('reseller_request', False))
+ self.assertTrue(req.environ.get('reseller_request'))
def test_account_put_permissions(self):
req = Request.blank('/v1/AUTH_new', environ={'REQUEST_METHOD': 'PUT'})

0 comments on commit c146212

Please sign in to comment.