Python CSC Electronic Office
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import pytest
|
|
|
|
|
|
|
|
from .utils import gssapi_token_ctx
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.fixture(scope='module')
|
|
|
|
def cli_setup(app_process):
|
|
|
|
# Running the client and the server in the same process would be very
|
|
|
|
# messy because they would be sharing the same environment variables,
|
|
|
|
# Kerberos cache, and registered utilities (via zope). So we're just
|
|
|
|
# going to start the app in a child process intead.
|
|
|
|
with gssapi_token_ctx('ctdalek'):
|
|
|
|
yield
|