BreakingBytes / simkit

Model Simulation Framework
http://breakingbytes.github.io/simkit/
BSD 3-Clause "New" or "Revised" License
27 stars 16 forks source link

Make testing easier #93

Open mikofski opened 7 years ago

mikofski commented 7 years ago

Especially for Django readers

mikofski commented 7 years ago

For tests using Django readers, they will need:

  1. The Django protect will have to be on the Python path
  2. Import settings from Django and run settings.configure()
  3. Import Django and run django.setuo()

Now the models can be accessed