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 ovotestkit 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
Metadata
Release files for ovotestkit 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ovotestkit-1.0.0.tar.gz | 4.0 kB | Details |
Release files / ovotestkit-1.0.0.tar.gz
| Download URL | ovotestkit-1.0.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d6e7f86974fa84ea7b2b4d60085486e92a7c25a03f4fefcac7bedfe4683a229
|
|
BLAKE2b-256 checksum How to use checksums |
59e0fdb96c6d060d8bd6f461465ead4aa1ec6b21b15fcb81830fd67d58713558
|
| 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
|