Resolved various warnings, upgrade bootstrap3

This commit is contained in:
Raphael Michel
2016-09-27 10:49:39 +02:00
parent 3e318d0dcf
commit efc6b6e480
9 changed files with 79 additions and 78 deletions

View File

@@ -6,12 +6,12 @@ class SoupTest(TestCase):
def get_doc(self, *args, **kwargs):
response = self.client.get(*args, **kwargs)
return BeautifulSoup(response.rendered_content)
return BeautifulSoup(response.rendered_content, "lxml")
def post_doc(self, *args, **kwargs):
kwargs['follow'] = True
response = self.client.post(*args, **kwargs)
return BeautifulSoup(response.rendered_content)
return BeautifulSoup(response.rendered_content, "lxml")
def extract_form_fields(soup):