ENH: collections - rename flaws and add notes (#41)

This commit is contained in:
Matthew Ryan Dillon 2017-12-04 21:21:09 -07:00 committed by GitHub
parent 2ac50967bb
commit 3b7e07bc28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 48 additions and 6 deletions

View file

@ -61,12 +61,13 @@ class CollectionFactory(DjangoModelFactory):
collection_start_time = None
collection_end_date = FuzzyDate(date(2015, 1, 1))
collection_end_time = None
notes = FuzzyText(length=150)
storage_location = SubFactory(StorageLocationFactory)
specimen_state = FuzzyText(length=50)
process_type = SubFactory(ProcessTypeFactory)
reagent = SubFactory(ReagentFactory)
adfg_permit = SubFactory(ADFGPermitFactory)
flaw = SubFactory(FlawFactory)
collection_flaw = SubFactory(FlawFactory)
class DatasheetAttachmentFactory(DjangoModelFactory):