responsible-ai-widgets/raiutils/tests
Roman Lutz d1bca3aef0
Add pandas timestamp support to json serialization utility function in raiutils (#2320)
* add pandas timestamps and test

* Remove whitespace to fix Flake8 linting failures.
2023-09-06 16:12:55 -04:00
..
README.md Create README.md for python tests (#1984) 2023-02-25 04:25:41 +00:00
test_cohort.py Port `cohort.py` from `raiwidgets` to `raiutils` (#1859) 2022-12-21 14:24:45 +00:00
test_data_processing_utils.py Add pandas timestamp support to json serialization utility function in raiutils (#2320) 2023-09-06 16:12:55 -04:00
test_exceptions.py Add `SystemErrorException` class to `raiutils` (#1951) 2023-02-09 02:03:19 +00:00
test_fetch_dataset.py add new RAI Utils package for common utilities shared across RAI packages (#1280) 2022-03-18 11:37:49 -04:00
test_model_utils.py OD model type support in raiutils for EA (#2227) 2023-08-14 09:51:24 -04:00
test_post.py add new RAI Utils package for common utilities shared across RAI packages (#1280) 2022-03-18 11:37:49 -04:00
test_sampling.py Add random sampling module to `raiutils` (#1928) 2023-02-01 05:37:04 +00:00

README.md

For running unit tests for raiutils locally with your changes, you would need an editable install of raiutils. From the top level directory you can install an editable version of raiutils using the following command:-

pip install -e raiutils

If you are in the raiutils directory, then the folllowing command will install an editable version of raiutils:-

pip install -e .

You would also need to install the test dependencies defined in file raiutils/requirements-dev.txt.

pip install -r requirements-dev.txt

For running the unit tests, you may do the following:-

cd tests
pytest .