ent_logistics_label_test.py 321 B

1234567891011121314
  1. import pytest
  2. from dw_base.spark.udf.enterprise.ent_logistics_label import is_logistic_match
  3. @pytest.mark.parametrize("name, expected",[
  4. ('ALINE', False)])
  5. def test_is_logistic_match(name, expected):
  6. result = is_logistic_match(name)
  7. assert result == expected
  8. if __name__ == '__main__':
  9. pytest.main()