pricefetch_pollin.py 382 B

12345678910111213
  1. from tests._lib import *
  2. testData = (
  3. ("702 737", PriceFetcher.Result.FOUND),
  4. ("94-702737", PriceFetcher.Result.FOUND),
  5. (" 94-702 737 ", PriceFetcher.Result.FOUND),
  6. ("99-999 999", PriceFetcher.Result.NOTFOUND),
  7. ("000 000", PriceFetcher.Result.NOTFOUND),
  8. ("94-702 737", PriceFetcher.Result.FOUND),
  9. ("711 677", PriceFetcher.Result.FOUND),
  10. )
  11. priceFetchTest("pollin", testData)