chb / indivo_server

The Indivo™ Personally Controlled Health Record
http://indivohealth.org
GNU General Public License v3.0
103 stars 40 forks source link

Test suite shouldn't depend on indivo_data.xml #5

Open thisisdhaas opened 12 years ago

thisisdhaas commented 12 years ago

Right now, the test suite assumes the existence of indivo_data.xml, and uses it to load dependencies like DocumentSchemas, auth_systems, etc. Tests should run independent of the presence of this file.

We could either make a local copy of the file to be used for tests, build a fixture to load the relevant data, or hardcode the dependencies actually used by the test suite.