Use boolean literals in variant factories fixes #217
This commit is contained in:
Родитель
4c14779cfe
Коммит
2e25234b6a
|
@ -50,10 +50,10 @@ class BaseExperimentVariantFactory(factory.django.DjangoModelFactory):
|
|||
class ExperimentControlFactory(BaseExperimentVariantFactory):
|
||||
is_control = True
|
||||
ratio = 1
|
||||
value = 'false'
|
||||
value = False
|
||||
|
||||
|
||||
class ExperimentVariantFactory(BaseExperimentVariantFactory):
|
||||
is_control = False
|
||||
ratio = 1
|
||||
value = 'true'
|
||||
value = True
|
||||
|
|
Загрузка…
Ссылка в новой задаче