mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-30 14:35:20 -04:00
feat: Add bottle webserver to run along with tests
This commit is contained in:
parent
5b571aa166
commit
bf417f50a4
4 changed files with 28 additions and 0 deletions
tests/mock_server
8
tests/mock_server/server.py
Normal file
8
tests/mock_server/server.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
from bottle import route, run
|
||||
|
||||
@route('/')
|
||||
def index():
|
||||
return "Hello"
|
||||
|
||||
def start():
|
||||
run(host='localhost', port=8080)
|
Loading…
Add table
Add a link
Reference in a new issue