summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-09-26 01:29:09 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-09-26 01:29:09 -0400
commit0e60b0ca511e905c1b82038a526aa760c02ea943 (patch)
tree702833941f8c3c5a0a36a3988fd92010c36f20ca /tests
parentacfbf479ff3e2b4914045d5131ca39369d40e53d (diff)
downloadpypaste-0e60b0ca511e905c1b82038a526aa760c02ea943.tar.gz
allow customizing the routes for get and post
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_server.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_server.py b/tests/test_server.py
index 2b1ed2e..98cff4e 100755
--- a/tests/test_server.py
+++ b/tests/test_server.py
@@ -55,6 +55,10 @@ async def main() -> int:
database,
"--storage-max-bytes",
"500000000",
+ "--get-route",
+ "/paste/{key}",
+ "--post-route",
+ "/paste",
"sqlite",
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.STDOUT,