tripleoclient unit test fails on nic validation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Low
|
Alex Schultz |
Bug Description
When I run the tests locally I'm getting a a TypeError. This doesn't appear to be affecting the CI gates however.
running: tox -e py27
Results in:
=======
FAIL: tripleoclient.
tags: worker-0
-------
Traceback (most recent call last):
File "tripleoclient/
self.
File "tripleoclient/
self.
File "tripleoclient/
for item in nic_data[
TypeError: 'NoneType' object has no attribute '__getitem__'
Turns out it was because I had a file in /tmp called foo. We aren't mocking the test correctly.