Skip to main content

OVO Test Kit

installation

create installer :

    python3 setup.py sdist bdist_wheel

installer will be at dist/ directory install using :

pip3 install dist/<generated-file>.whl

Quickstart

from ovobdkit.testkit import OVOTestKit
import unittest
class TestMlmMerchant(OVOTestKit):
    TABLE_NAME = 'ovo_raw.ovo_smp_mlm_merchant'
    FIELDS = '''
        id BigInt
        merchant_code String
        grab_id String
    '''
    def test_having_no_duplicates(self):
        self.duplicate_check(TestMlmMerchant.TABLE_NAME)


if __name__ == '__main__':
    unittest.main()

more? see examples directories

Functionalities

  • Unit Test
  • Functional Test
    • Communicate to Airflow
    • Communicate to OMT

Common case

  • get all (example / merchant_owner)
  • delta (example / springreward/txn_ledger)
  • delta with update (example/springreward/customer_transaction)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovobdkit-1.0.4.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovobdkit-1.0.4-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file ovobdkit-1.0.4.tar.gz.

File metadata

  • Download URL: ovobdkit-1.0.4.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

File hashes

Hashes for ovobdkit-1.0.4.tar.gz
Algorithm Hash digest
SHA256 938f8849bd16a86b18f8921dfa8b84e561953bfe0d4aef1c4c05d54cf7551f95
MD5 6a615010ff2a0e39071e1e033fe5ba4b
BLAKE2b-256 faea4903905ac72a87b1149eb855d299f25d26c64ed785b01a8b0d574a5cb3cf

See more details on using hashes here.

File details

Details for the file ovobdkit-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: ovobdkit-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

File hashes

Hashes for ovobdkit-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a2fd36d01e1a58341c654f0e3452d8995060806a46b105be71fb739eecdf2e13
MD5 cdfc0f70feba96901345a1ee4505830a
BLAKE2b-256 dd11d6890edbd0d5d3f5e8ca1f89ef4fbe8c8d8a89c92e7d80cd005cd1add445

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page