1
0
mirror of synced 2026-01-27 16:02:00 -05:00
Files
airbyte/airbyte-integrations/connectors/source-pipedrive/unit_tests/conftest.py
Marcos Marx dca2256a7c Bump 2022 license version (#13233)
* Bump year in license short to 2022

* remove protocol from cdk
2022-05-26 15:00:42 -03:00

37 lines
1.0 KiB
Python

#
# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
#
import pendulum
import pytest
replication_start_date = "2017-01-25T00:00:00Z"
@pytest.fixture(name="config_oauth")
def config_oauth():
return {
"authorization": {
"auth_type": "Client",
"client_id": "6779ef20e75817b79602",
"client_secret": "7607999ef26581e81726777b7b79f20e70e75602",
"refresh_token": "RjY2NjM5NzA2OWJjuE7c",
},
"replication_start_date": replication_start_date,
}
@pytest.fixture(name="config_token")
def config_token():
return {"authorization": {"auth_type": "Token", "api_token": "jBzsujyut9x0nzXB8vhGl"}, "replication_start_date": replication_start_date}
@pytest.fixture(name="config_incremental")
def config_incremental():
return {"authenticator": {"api_token": "jBzsujyut9x0nzXB8vhGl"}, "replication_start_date": pendulum.parse(replication_start_date)}
@pytest.fixture(name="config_refresh")
def config_refresh():
return {"authenticator": {"api_token": "jBzsujyut9x0nzXB8vhGl"}}