Skip to content

Commit 2749759

Browse files
committed
Fixed a backwards compatibiltiy issue for the factoryboy lib and updated a dependency requirement.
- Legacy-Id: 17115
1 parent c99763c commit 2749759

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/nomcom/factories.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class Meta:
174174

175175
@factory.post_generation
176176
def comments(obj, create, extracted, **kwargs):
177-
comment_text = factory.Faker('paragraph').generate()
177+
comment_text = factory.Faker('paragraph').generate({})
178178
obj.comments = obj.nomcom.encrypt(comment_text)
179179

180180
class TopicFactory(factory.DjangoModelFactory):

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Trac>=1.0.10,<1.2
6363
typing>=3.7.4.1
6464
Unidecode>=0.4.18
6565
#wsgiref>=0.1.2
66-
xml2rfc>=2.9.3,!=2.6.0
66+
xml2rfc>=2.35.0
6767
xym==0.4.2,<1.0
6868
#zxcvbn-python>=4.4.14 # Not needed until we do back-end password entropy validation
6969

0 commit comments

Comments
 (0)