SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 0e3252e3 authored by Geert Kapteijns's avatar Geert Kapteijns
Browse files

fix theses factory outdated constants reference

parent fea3cb9a
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ from scipost.factories import ContributorFactory
from .models import ThesisLink
from .forms import VetThesisLinkForm
from .constants import MASTER_THESIS
class ThesisLinkFactory(factory.django.DjangoModelFactory):
......@@ -12,7 +13,7 @@ class ThesisLinkFactory(factory.django.DjangoModelFactory):
model = ThesisLink
requested_by = factory.SubFactory(ContributorFactory)
type = ThesisLink.MASTER_THESIS
type = MASTER_THESIS
title = factory.Faker('bs')
pub_link = factory.Faker('uri')
author = factory.Faker('name')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment