mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
+ Added aurweb.testing.setup_test_db(*tables) + Added aurweb.testing.models.make_user(**kwargs) + Added aurweb.testing.models.make_session(**kwargs) + Added aurweb.testing.requests.Client + Added aurweb.testing.requests.Request * Updated test_l10n.py to use our new Request Signed-off-by: Kevin Morris <kevr@0cost.org>
8 lines
118 B
Python
8 lines
118 B
Python
class Client:
|
|
host = "127.0.0.1"
|
|
|
|
|
|
class Request:
|
|
client = Client()
|
|
cookies = dict()
|
|
headers = dict()
|