Skip to content

Commit a442f73

Browse files
committed
fix gunicorn test
1 parent 24582ac commit a442f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_gunicorn.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
def test_config_imports():
99
from gunicorn.app.wsgiapp import run
1010

11-
argv = ["gunicorn", "--check-config", "flaskapp", "-c", "src/gunicorn.conf.py"]
11+
argv = ["gunicorn", "--check-config", "flaskapp:create_app()", "-c", "src/gunicorn.conf.py"]
1212

1313
with mock.patch.object(sys, "argv", argv):
1414
with pytest.raises(SystemExit) as excinfo:

0 commit comments

Comments
 (0)