Python Requirements Update (#33737)
* chore: Updating Python Requirements * fix: fix test failure occurring due to faker upgrade --------- Co-authored-by: UsamaSadiq <usama7274@gmail.com>
This commit is contained in:
committed by
GitHub
parent
104d42c67a
commit
c240fd8b52
@@ -36,8 +36,10 @@ def generate_zulu_datetime():
|
||||
The catalog returns UTC datetimes formatted using Z, the zone designator
|
||||
for the zero UTC offset, not the +00:00 offset. For more, see
|
||||
https://en.wikipedia.org/wiki/ISO_8601#UTC.
|
||||
Faker.date_time() now returns time with sub-seconds in %S.%f format
|
||||
but we don't need the sub_seconds precision, only the whole seconds
|
||||
"""
|
||||
return fake.date_time().isoformat() + 'Z'
|
||||
return fake.date_time().isoformat().split('.')[0] + 'Z'
|
||||
|
||||
|
||||
def generate_price_ranges():
|
||||
|
||||
Reference in New Issue
Block a user