Add end-to-end test for team sync
This commit is contained in:
parent
4055158fc4
commit
96b9d6b0cd
2 changed files with 16 additions and 2 deletions
|
@ -7,14 +7,14 @@ import requests
|
|||
from flask import Flask, request, abort, make_response
|
||||
from contextlib import contextmanager
|
||||
|
||||
from helpers import liveserver_app
|
||||
from test.helpers import liveserver_app
|
||||
from data.users.keystone import get_keystone_users
|
||||
from initdb import setup_database_for_testing, finished_database_for_testing
|
||||
|
||||
_PORT_NUMBER = 5001
|
||||
|
||||
@contextmanager
|
||||
def fake_keystone(version, requires_email=True):
|
||||
def fake_keystone(version=3, requires_email=True):
|
||||
""" Context manager which instantiates and runs a webserver with a fake Keystone implementation,
|
||||
until the result is yielded.
|
||||
|
||||
|
|
Reference in a new issue