unt-libraries / catalog-api

A Django project that lets you build and expose a REST API for your library's Sierra ILS-based catalog
BSD 3-Clause "New" or "Revised" License
17 stars 8 forks source link

Fix sierra-test-db fixture loading on Linux #37

Closed jthomale closed 6 years ago

jthomale commented 6 years ago

This fixes the shell command used in init-dockerdata.sh that finds and then passes args to manage-test loaddata for loading fixtures into sierra-db-test. It was working on Mac, but I noticed it was not working correctly on TravisCI Linux (even though tests were all passing). Removing the quotation marks around the find command and converting newlines to spaces seems to have done the trick.