def fake_file(self):
"""
Return string name of file.
Faker Factory also provide about this file.
Example:
file.zip, awesomefile.tar.gz, samplefile.docx, djipsum.pdf
1. from Djipsum
faker.fake_file()
2. from Faker Factory
faker.fake.file_name()
"""
return self.djipsum_fields().randomFileField()
评论列表
文章目录