georgetown-cset / eto-orca

Code to support the ORCA web interface
https://orca.eto.tech
Other
2 stars 0 forks source link

Update tests to be less sensitive to data updates #319

Open jmelot opened 3 months ago

jmelot commented 3 months ago

Some of the tested numbers like star counts will break after every update, while others like the number of repos tracked in a given field we would expect to increase over time. We should update the tests to not be sensitive to these values. Here is a commit showing what I had to do to make the tests work after the last (admittedly, pretty large) data update: https://github.com/georgetown-cset/eto-orca/pull/318/commits/3737e35e9bc8b7c617d72388e3887b1e37a07d67