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)

Metadata

Release files for ovobdkit 1.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovobdkit 1.0.10
File Size Uploaded
ovobdkit-1.0.10.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovobdkit 1.0.10
File Interpreter ABI Platform
ovobdkit-1.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 25.4 kB

Release files / ovobdkit-1.0.10.tar.gz

Download URL ovobdkit-1.0.10.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
99e285a0e0d02502a54c3725a190a66b3980f0b03c5d4ab4c2b668094b50b9c6
BLAKE2b-256 checksum
How to use checksums
28dab56168b2c42ad81d5b5fb2002a181d54871cc89302ca51c516907654e952
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ovobdkit-1.0.10-py3-none-any.whl

Download URL ovobdkit-1.0.10-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0932dc556e76c0f4788a63f9e88692079318cfe2ffadf2736565f3fcbd37694
BLAKE2b-256 checksum
How to use checksums
41101a5aeb0f5e27ba283738485202a911e48afa082584ef455ad3080de15ad3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.10 This release

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page