test_computeMetrics.py 554 B

12345678910111213141516171819202122232425
  1. """
  2. This file will test the differents modules in compute_metrics folder
  3. You must have the pip package pytest installed
  4. """
  5. import os
  6. import sys
  7. import pytest
  8. import shutil
  9. import pandas as pd
  10. fpath = os.path.join(os.path.dirname(__file__),'..', 'compute_metrics')
  11. sys.path.append(fpath)
  12. import compute_metrics.metrics as met
  13. import compute_metrics.metrics_functions as mf
  14. ############### metrics ##################
  15. ##########################################
  16. ########## metrics_functions #############
  17. ##########################################