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.2.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.2-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ovobdkit-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 59ff905b37411cc3dd603a72b24d563288c29a5180f272073db3b96ce8437c2e
MD5 6eb0a036944b8b1a59d6a8ac757e20e2
BLAKE2b-256 dfa70318aae74811fb2413dbf6e1d3df889b49af9ca0b2c6668dcfcd5e5b4c6c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ovobdkit-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c58a88479c48d8f756d86456fd963decfeb259586a41295ccb013ca20d8afce1
MD5 1a00c3b0ff3638c33f64429e80320360
BLAKE2b-256 8b4058925b9b7626feb830255f7376aac9488176f4321a39c35b64ea822210a0

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