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.7.tar.gz
(9.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ovobdkit-1.0.7-py3-none-any.whl
(18.7 kB
view details)
File details
Details for the file ovobdkit-1.0.7.tar.gz.
File metadata
- Download URL: ovobdkit-1.0.7.tar.gz
- Upload date:
- Size: 9.6 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea118ea2bf90dc0d9941ad985a53a170bff95a8fdda99094096c0139fc8dbd34
|
|
| MD5 |
8d2f5f588019c9f9c14c9012034ae37c
|
|
| BLAKE2b-256 |
ab1b400985a73a2d3697e75e1535923dcc54d616ee641d9416d922ef508d2e8a
|
File details
Details for the file ovobdkit-1.0.7-py3-none-any.whl.
File metadata
- Download URL: ovobdkit-1.0.7-py3-none-any.whl
- Upload date:
- Size: 18.7 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91d8fb3bc452e042995f81a84053b93619c2ce7d80d9f940cf63a252e9901e8b
|
|
| MD5 |
c0f6fbe6531b7fc48f1d603846febafa
|
|
| BLAKE2b-256 |
6cce28694e1868e562ed6a70994840cac565a36d9841def416f7ab46521e9057
|