forked from orbit-oss/flask
Remove unneccessary arg in client fixture
This commit is contained in:
parent
92fa444259
commit
46c1383919
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ from yourapplication import app
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def client(request):
|
def client():
|
||||||
app.config['TESTING'] = True
|
app.config['TESTING'] = True
|
||||||
client = app.test_client()
|
client = app.test_client()
|
||||||
return client
|
return client
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue