Testing Kit for OVO Big Data
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ovotestkit-1.0.0.dev0.tar.gz
(9.5 kB
view hashes)
Built Distribution
Close
Hashes for ovotestkit-1.0.0.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d32adf30997117be1f6d92513e7b4f54b70423bad08747150450ffe42e8f95f0 |
|
MD5 | 3287750ea1a124dd40b228e689dec7d2 |
|
BLAKE2b-256 | d9cf64f99f3719f818bc7a19cab22c43fc4d956b297c552727bcbcc86085a7e8 |