def before_all(context: Context): os.environ["APPLICATION_ENV"] = "test" from pepy.infrastructure import container from pepy.infrastructure.web import app context.container = container context.client = app.test_client()
def step_impl(context: Context): context.client = grakn.Client(env.broken_connection)
def step_impl(context: Context): context.client = grakn.Client(keyspace=env.new_keyspace())
def step_impl(context: Context) -> None: context.client = GrabClient(credentials=('client_id', 'secret'), sandbox_mode=False)
def step_impl(context: Context) -> None: context.client = KGXClient(credentials=('my_username', 'my_password'), sandbox_mode=False)