You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current unit tests use HTML files stored in tests/mocks. While using HTML mocks is helpful in testing the parsing logic, there is no way to check if a current online response is parsed correctly by the xpaths. Testing real time data would enable testing the xpaths in patchfinder.entrypoint.
A solution like https://github.com/kevin1024/vcrpy is optimal. vcrpy, unfortunately, does not currently support Scrapy's networking framework Twisted.
Thus, an efficient method to test if a current response is parsed properly is required.
Current unit tests use HTML files stored in
tests/mocks. While using HTML mocks is helpful in testing the parsing logic, there is no way to check if a current online response is parsed correctly by the xpaths. Testing real time data would enable testing the xpaths inpatchfinder.entrypoint.A solution like https://github.com/kevin1024/vcrpy is optimal. vcrpy, unfortunately, does not currently support Scrapy's networking framework Twisted.
Thus, an efficient method to test if a current response is parsed properly is required.