-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change unit test #137
Comments
Turns out this issue was related to a technical glitch for Boston and is working again. Not a pressing issue but their portal will be retired soon so keeping it open for now. @therriault - is this data set being immediately retired with the new data portal on the 6th? |
We moved the dataset to the new portal: https://data.boston.gov/dataset/mayors-24-hour-hotline. But the old site will be up for a few months still. |
@chrismetcalf - Boston has redirected their old portal data to their new portal, which broke a unit test for a specific case where the first entry is a missing date. Would it be acceptable to upload a similar data set to soda.demo.socrata.com so we can keep the unit test? I hesitate to put it on Chicago's because it mixes a technical, not-otherwise-useful data with official city data. |
This test should only be temporarially ignored until a better solution (which does not compromise code coverage) is derived.
Right now, have staged a temporary fix that just ignores the unit test on branch |
@tomschenkjr I relayed a recommendation to you through our support team, but I thought I'd post it here too:
Then you can set the environment variables locally if you want to test locally, and you can rely on TravisCI to make sure you don't merge bad changes from others. |
Based on feedback from @geneorama, have included the `httr::` prefix to all `user_agent()` calls. Added clarifying comments related to #137 so our future-selves can be reminded of turning on the test again.
Actually, will re-open this since we only have a temporary fix in place. |
We've been using @CityOfBoston open data portal to run a unit test to ensure the package is correctly importing data with missing dates (from #27). However, in recent tests, it appears that data set is no longer available--at least, need to login to see it.
The original data set was the Mayor's 24-hour hotline dataset. However, Boston is moving to a new data portal and is likely migrating content. @therriault was the above data set replaced by the same data from the new portal?
Regardless, for us, Boston is moving to a whole new portal that is not Socrata based. We will need to replace the test. We need to find or create (see #45) a new data set with a missing date to test this functionality.
(Discovered this while working on #136)
The text was updated successfully, but these errors were encountered: