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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ovobdkit-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 29bc538de231c6fde51e03436a21fd0e5b53f2484987729cdb4bfe6e102085fb
MD5 d842aef1b3982e9a53a8d5bbdaaca9e9
BLAKE2b-256 3dcc35cb7bbb9a0c2e0dca300d0e9e8b2632ceb38def9cb960295e322852b80a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ovobdkit-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 708fee50a25fd831828d6a720dd6e1f758efaa18e0d52272f9ddc0e9a5909f8b
MD5 a73118583d010de6bc17e56fec0a39aa
BLAKE2b-256 9dda8660d6cb81493c95396d2e66b7593ddbafdf47e78ceca4eb14d8c9620e49

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