unit tests are redefining datetime.datetime.now and should just use mock instead
Bug #2045588 reported by
Corey Bryant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Swift Storage Charm |
Fix Committed
|
Undecided
|
Unassigned | ||
2023.1 |
Fix Committed
|
Undecided
|
Unassigned | ||
2023.2 |
Fix Committed
|
Undecided
|
Unassigned | ||
Xena |
Fix Committed
|
Undecided
|
Unassigned | ||
Yoga |
Fix Committed
|
Undecided
|
Unassigned | ||
Zed |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
As seen in the failures here:
https:/
charm-swift-storage is redefining the standard library's datetime.
https:/
and it is causing unintended side-effects.
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/c/openstack /charm- swift-storage/ +/902594
Review: https:/