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
|
||||
|
||||
@pytest.fixture
|
||||
def client(request):
|
||||
def client():
|
||||
app.config['TESTING'] = True
|
||||
client = app.test_client()
|
||||
return client
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue