SciPost Code Repository

Skip to content
Snippets Groups Projects
  1. Dec 14, 2016
    • Geert Kapteijns's avatar
      Set blank=False on domain field of ThesisLink · de1087c0
      Geert Kapteijns authored
      A blank domain throws an error in /theses/.
      I've also installed factory_boy (pip install -r requirements.txt
      to get it) and set up a ThesisLinkFactory and a unit tests that
      tests whether ThesisLink validates for a blank domain field.
      
      Not sure if this is exactly how you're supposed to validate
      a model, but it's a start. First unit test of the project, whoohoo!
      de1087c0
    • Geert Kapteijns's avatar
      Separate theses/tests.py into three files · f9f0bb2e
      Geert Kapteijns authored
      test_forms.py, test_models.py, test_views.py, as per
      recommendation of the two scoops book.
      f9f0bb2e
  2. Dec 03, 2015
  3. Nov 22, 2015
Loading