Merge pull request #576 from dod-ccpo/update-attachment-factory
Update Attachment Factory
This commit is contained in:
commit
075480f2c3
@ -381,7 +381,7 @@ class AttachmentFactory(Base):
|
|||||||
model = Attachment
|
model = Attachment
|
||||||
|
|
||||||
filename = factory.Faker("domain_word")
|
filename = factory.Faker("domain_word")
|
||||||
object_name = factory.Faker("domain_word")
|
object_name = factory.LazyFunction(lambda *args: uuid4().hex)
|
||||||
|
|
||||||
|
|
||||||
class TaskOrderFactory(Base):
|
class TaskOrderFactory(Base):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user