Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys,pytest
- from project import check_uom,check_ingredient_validity,get_ingredient_balance_for_recipe
- def test_check_uom():
- assert check_uom("wrong unit")==False
- assert check_uom("lbf")==False
- assert check_uom("piece")==True
- assert check_uom("l")==True
- assert check_uom("L")==True
Advertisement
Add Comment
Please, Sign In to add comment