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.8.tar.gz
(9.9 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.8-py3-none-any.whl
(18.9 kB
view details)
File details
Details for the file ovobdkit-1.0.8.tar.gz.
File metadata
- Download URL: ovobdkit-1.0.8.tar.gz
- Upload date:
- Size: 9.9 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 |
6920c4b20f58d6a689b935d68a61f47f62cc0abd1146057f3c346c3ec87125f7
|
|
| MD5 |
50edf4908dab0f85599ed63b2765834a
|
|
| BLAKE2b-256 |
4fb7a4779e47102cf091c9ca9fc8f5a82fb6706e06acae68e6a523e46607eee5
|
File details
Details for the file ovobdkit-1.0.8-py3-none-any.whl.
File metadata
- Download URL: ovobdkit-1.0.8-py3-none-any.whl
- Upload date:
- Size: 18.9 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 |
17ef9a60202ff8cc8a107f7b973fdf0032f74953b8e1fc353bcb4016b4d703fb
|
|
| MD5 |
d11f367fbded04bb26bb9e7d07c8371e
|
|
| BLAKE2b-256 |
bca826f8ded54a73fcc15db2b3e3cb3da07d259ff40c9b52d6e39b5e49bf8400
|