Commits

Danny Navarro  committed e5018b5

fix test for deletion of body

  • Participants
  • Parent commits dd11530

Comments (0)

Files changed (1)

File tests/test_request.py

     eq_(len(r.body), len(string.letters*len_strl)-1)
     assert_raises(TypeError, setattr, r, 'body', unicode('hello world'))
     r.body = None
-    ok_(getattr(r,'body',None)==None)
-        
-
+    eq_(r.body, '')