Nimble unit tests set invalid trace flags
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned |
Bug Description
Running a unit test such as cinder.
will produce errors:
2017-05-17 14:36:28,287 WARNING [cinder.utils] Invalid trace flag: M
2017-05-17 14:36:28,287 WARNING [cinder.utils] Invalid trace flag: L
2017-05-17 14:36:28,288 WARNING [cinder.utils] Invalid trace flag: N
2017-05-17 14:36:28,288 WARNING [cinder.utils] Invalid trace flag: I
2017-05-17 14:36:28,288 WARNING [cinder.utils] Invalid trace flag: E
2017-05-17 14:36:28,288 WARNING [cinder.utils] Invalid trace flag: B
This is because of how configuration is mocked out: def create_
This config mocking should be tightened up and only use valid values for config options.