No longer crashes during 'instance list' when an instance is no longer registered with libvirt. Cleaned up some bits. Added logging if configured in settings.py.
Details
Details
Basic usage and py.test.
Diff Detail
Diff Detail
- Repository
- rTCLOUD testcloud
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
testcloud/instance.py | ||
---|---|---|
112 | If this ends up being used anywhere else, I don't think having a string like this is a good idea. it needs to be a const, enum or something that isn't statically listed in 50 places. |
If this ends up being used anywhere else, I don't think having a string like this is a good idea. it needs to be a const, enum or something that isn't statically listed in 50 places.