update
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
from .test_home_api import * # noqa
|
||||
from .test_ad import * # noqa
|
||||
from .test_home_api import *
|
||||
from .test_ad import *
|
||||
|
||||
@@ -13,7 +13,7 @@ def instance(db):
|
||||
@pytest.fixture
|
||||
def api_client(instance):
|
||||
client = APIClient()
|
||||
##client.force_authenticate(user=instance.user)
|
||||
# client.force_authenticate(user=instance.user)
|
||||
return client, instance
|
||||
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ def instance(db):
|
||||
@pytest.fixture
|
||||
def api_client(instance):
|
||||
client = APIClient()
|
||||
##client.force_authenticate(user=instance.user)
|
||||
# client.force_authenticate(user=instance.user)
|
||||
return client, instance
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user