def __init__(self, *args, **kwargs):
super(FunctionalTest, self).__init__(*args, **kwargs)
self.emailer_config = configparser.RawConfigParser()
self.emailer_config.read(os.path.join(__HERE__, 'config/kinto.ini'))
# Setup the kinto clients for the source and destination.
self._auth = DEFAULT_AUTH
self._server_url = SERVER_URL
self._bucket = "emailer"
self._collection = "collection1"
self.client = Client(
server_url=self._server_url,
auth=self._auth,
bucket=self._bucket,
collection=self._collection)
评论列表
文章目录