7

Add unittests for the session adapter

This commit is contained in:
Michael van Tellingen
2017-05-31 16:08:07 +02:00
committed by Michael van Tellingen
parent e107d73716
commit 03073eb004
5 changed files with 68 additions and 10 deletions

View File

@ -7,7 +7,7 @@ from wagtail_personalisation import models
class SegmentFactory(factory.DjangoModelFactory):
name = 'TestSegment'
status = 'enabled'
status = models.Segment.STATUS_ENABLED
class Meta:
model = models.Segment