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.1.tar.gz (10.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.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ovobdkit-1.0.1.tar.gz
  • Upload date:
  • Size: 10.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.1.tar.gz
Algorithm Hash digest
SHA256 910997c67071cc4f60e81df4e679843a4566993a2c7b071e89ae1b8e09c440c1
MD5 fe5bfb274920bd186cc4840bc04ed265
BLAKE2b-256 28972cf2080c6bd50f802662710dc7c797b08f314f2ed9760a0679c3febec68c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ovobdkit-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff4ebd51aa8e317404b943e3e44fcf9df7875ca77cab2210da2d0241453ff6dc
MD5 bd2aa84e6031f7960004e035bca70b43
BLAKE2b-256 e397e76016495ce242f76a46fb1ef9c96372304cc8234696dbe48a9d855a8a3f

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 Sentry Error logging StatusPage Status page