FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
webthing-python/test.sh at master · WebThingsIO/webthing-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
WebThingsIO
/
webthing-python
Public
Notifications
You must be signed in to change notification settings
Fork
36
Star
175
Code
Issues
2
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
webthing-python
/
test.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
24 lines (20 loc) · 617 Bytes
Breadcrumbs
webthing-python
/
test.sh
Copy path
File metadata and controls
executable file
·
24 lines (20 loc) · 617 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!
/bin/bash -e
#
run flake8 and pydocstyle
pip install flake8 pydocstyle
flake8 webthing
pydocstyle webthing
#
clone the webthing-tester
git clone https://github.com/WebThingsIO/webthing-tester
pip install -r webthing-tester/requirements.txt
#
build and test the single-thing example
PYTHONPATH=. python example/single-thing.py
&
EXAMPLE_PID=
$!
sleep 5
python ./webthing-tester/test-client.py
kill
-15
$EXAMPLE_PID
#
build and test the multiple-things example
PYTHONPATH=. python example/multiple-things.py
&
EXAMPLE_PID=
$!
sleep 5
python ./webthing-tester/test-client.py --path-prefix
"
/0
"
kill
-15
$EXAMPLE_PID
Back
|
FazBrowse Home
|
New Git URL