mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Resolved various warnings, upgrade bootstrap3
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user