This is an automated email from the ASF dual-hosted git repository.
Aman-Mittal pushed a change to branch main
in repository
https://gitbox.apache.org/repos/asf/fineract-business-intelligence.git
from cbd50cb Merge pull request #41 from
apache/dependabot/pip/dbt-postgres-gte-1.11.0-and-lt-2.0.0a1
add 1ebeca6 test: add unit tests for extractor module with pytest
new 79601d7 Merge pull request #49 from
airajena/test/add-extractor-unit-tests
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/ci.yml | 4 +
pytest.ini | 24 ++++
extractor/requirements.txt => requirements-dev.txt | 4 +-
extractor/requirements.txt => tests/__init__.py | 2 -
tests/conftest.py | 118 ++++++++++++++++
.../requirements.txt => tests/unit/__init__.py | 2 -
.../unit/extractor/__init__.py | 2 -
tests/unit/extractor/test_cob_gate.py | 87 ++++++++++++
tests/unit/extractor/test_config.py | 134 ++++++++++++++++++
tests/unit/extractor/test_helpers.py | 116 ++++++++++++++++
tests/unit/extractor/test_replica_lag.py | 80 +++++++++++
tests/unit/extractor/test_source_query.py | 102 ++++++++++++++
tests/unit/extractor/test_upsert_rows.py | 106 ++++++++++++++
tests/unit/extractor/test_watermark.py | 153 +++++++++++++++++++++
14 files changed, 927 insertions(+), 7 deletions(-)
create mode 100644 pytest.ini
copy extractor/requirements.txt => requirements-dev.txt (91%)
copy extractor/requirements.txt => tests/__init__.py (97%)
create mode 100644 tests/conftest.py
copy extractor/requirements.txt => tests/unit/__init__.py (97%)
copy extractor/requirements.txt => tests/unit/extractor/__init__.py (97%)
create mode 100644 tests/unit/extractor/test_cob_gate.py
create mode 100644 tests/unit/extractor/test_config.py
create mode 100644 tests/unit/extractor/test_helpers.py
create mode 100644 tests/unit/extractor/test_replica_lag.py
create mode 100644 tests/unit/extractor/test_source_query.py
create mode 100644 tests/unit/extractor/test_upsert_rows.py
create mode 100644 tests/unit/extractor/test_watermark.py