python3-mal icon indicating copy to clipboard operation
python3-mal copied to clipboard

Upgrade tests: mock mal responses, refactor code base to testable chunks

Open pushrbx opened this issue 7 years ago • 1 comments
trafficstars

Instead of going to the MAL server for response there should be a downloaded html file which would be used to do the tests on. The html file can should be updated monthly.

Possible solutions:

  • Caching proxy: https://github.com/CompileInc/cappy
  • static html files

Also it would be ideal to refactor the code to have testable units and avoid bugs like #25 and #26 .

pushrbx avatar Dec 27 '17 01:12 pushrbx

tests now run through a caching proxy (squid) 57a4133

pushrbx avatar Jan 06 '18 23:01 pushrbx