Repository navigation
kvm: Add UnitTests for LibvirtUtilitiesHelper - #1005
Conversation
|
@wido You'd onky changed a methode name and added a getter. But no Unit test were added right? Forgot "git add ." before commiting? |
3bbf918 to
2164c12
Compare
|
@borisroman Fixed, that was indeed the problem |
|
very onky indeed. |
|
@DaanHoogland I don't like them either, but these paths are currently hardcoded in LibvirtComputingResource and I want to verify that they don't change and break some functionality. |
|
@wido good answer based on code review LGTM so far |
These were lacking, but this helper is used in various places inside the KVM code. Some simple tests to verify the helper is doing what we expect it to do.
2164c12 to
6022311
Compare
|
@DaanHoogland I've just pushed a version with a comment in there to explain what I'm doing Code-wise nothing changed |
|
@remibergsma can you spare a bubble for this one? |
|
@DaanHoogland Tests are running. |
|
LGTM, based on a set of tests that I run on this branch (which I rebased myself first): Result: And: Result: These test do not cover your change, all they do is show you didn't break them. Someone else needs to review the code. |
|
@DaanHoogland Can you please update your review, thanks! |
|
still good looking, let's get this merged |
kvm: Add UnitTests for LibvirtUtilitiesHelperThese were lacking, but this helper is used in various places inside the KVM code. Some simple tests to verify the helper is doing what we expect it to do. * pr/1005: kvm: Add UnitTests for LibvirtUtilitiesHelper Signed-off-by: Remi Bergsma <github@remi.nl>
These were lacking, but this helper is used in various places
inside the KVM code.
Some simple tests to verify the helper is doing what we expect it
to do.