Fix tests for python2.6

This commit is contained in:
Guillaume Ayoub 2013-09-25 14:39:46 +02:00
parent 64e886d4c4
commit 72d40d45e5

View File

@ -77,7 +77,7 @@ class BaseRequests(object):
# Then we send a DELETE request # Then we send a DELETE request
status, headers, answer = self.request("DELETE", path) status, headers, answer = self.request("DELETE", path)
assert status == 200 assert status == 200
assert "<href>%s</href>" % path in answer assert "href>%s</" % path in answer
status, headers, answer = self.request("GET", "/calendar.ics/") status, headers, answer = self.request("GET", "/calendar.ics/")
assert "VEVENT" not in answer assert "VEVENT" not in answer