@@ -40,8 +40,8 @@ def todos(c):
40
40
c .run ("python utils/todos.py" )
41
41
42
42
43
- @task (help = {"port" : "optional port to run on; default = 5000 " })
44
- def start (c , port = 5000 ):
43
+ @task (help = {"port" : "optional port to run on; default = 5001 " })
44
+ def start (c , port = 5001 ):
45
45
"""
46
46
Start the dev server, using script dev.py.
47
47
"""
@@ -83,10 +83,10 @@ def test(c):
83
83
84
84
def _site_is_running (useport = None ):
85
85
"""
86
- Return true if site is running on port, or default 5000 .
86
+ Return true if site is running on port, or default 5001 .
87
87
"""
88
88
if useport is None :
89
- useport = 5000
89
+ useport = 5001
90
90
91
91
url = f"http://localhost:{ useport } "
92
92
try :
@@ -116,7 +116,7 @@ def _site_is_running(useport=None):
116
116
)
117
117
def accept ( # pylint: disable=too-many-arguments
118
118
c ,
119
- port = 5000 ,
119
+ port = 5001 ,
120
120
show = False ,
121
121
noheadless = False ,
122
122
kflag = None ,
@@ -126,7 +126,7 @@ def accept( # pylint: disable=too-many-arguments
126
126
"""
127
127
Start lute, run tests/acceptance tests, screenshot fails.
128
128
129
- If no port specified, use default 5000 .
129
+ If no port specified, use default 5001 .
130
130
131
131
If Lute's not running on specified port, start a server.
132
132
"""
@@ -174,14 +174,14 @@ def playwright(c):
174
174
"""
175
175
Start lute, run playwright tests. export SHOW=true env var to run non-headless.
176
176
177
- Only uses port 5000 .
177
+ Only uses port 5001 .
178
178
179
179
If Lute's not running on specified port, start a server.
180
180
"""
181
181
run_test = ["pytest" , "tests/playwright/playwright.py" , "-s" ]
182
182
183
183
tests_failed = False
184
- port = 5000
184
+ port = 5001
185
185
if _site_is_running (port ):
186
186
c .run (" " .join (run_test ))
187
187
else :
0 commit comments