encode / hostedapi

Building out an example Starlette service 💚
https://hostedapi.herokuapp.com/
93 stars 10 forks source link

Drop redundant data migrations #70

Closed tomchristie closed 4 years ago

tomchristie commented 4 years ago

We had some data migrations to populate the UK General Election 2017, 2015 datasets. We were using this data in test cases. Our test cases run the full data migrations on setup, and this was adding noticable slowness to the test cases.

Now that our test cases are async, we're able to perform database operations in them, so we're instead creating fixture data dynamically, and no longer need the test data.