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)
| File | Size | Uploaded | |
|---|---|---|---|
| ovobdkit-1.0.10.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|