Skip to content

Conversation

@sam-watttime
Copy link
Contributor

This PR introduces shapely as a requirement, which is not ideal, although it isn't difficult to install typically. Alternatively, we could add it as an optional dependency (e.g. pip install watttime[testing]).

The cause of a failure for this test would most likely be in our data generation (e.g. uploading maps). A test was added inline in export_all_cache.py, however this test is also a nice peace of mind to ensure that our users are actually getting valid geojson.

@sam-watttime sam-watttime requested a review from xginn8 as a code owner December 16, 2024 22:38
self.assertIsInstance(jsons[0], dict)

def test_get_historical_jsons_1_week(self):
start = "2022-01-01 00:00Z"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few local changes I included to update the data range of the tests

@sam-watttime sam-watttime changed the base branch from main to future-release February 27, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants