Commits

Gael Pasgrimaud  committed e64f5e8

fix tests

  • Participants
  • Parent commits ae37938

Comments (0)

Files changed (1)

File pyquery/test.py

     def test_proxy(self):
         e = self.klass([])
         val = e.get('http://pyquery.org/')
-        assert len(val('div.document')) == 1, (val.response, val)
+        assert len(val('body')) == 1, (str(val.response), val)
 
     def test_get(self):
         e = self.klass(app=application)