Haskell/python compatibility test for networks
This patch contains the HUnit test that checks the compatibility of Haskell-generated networks with the python code. For that the generation of test instances of networks was enhanced to meet the validation steps of the python implementation. Also, so far networks were generated at two different places in the code; this is now consolidated. Signed-off-by:Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
Showing
- htest/Test/Ganeti/Network.hs 15 additions, 50 deletionshtest/Test/Ganeti/Network.hs
- htest/Test/Ganeti/Objects.hs 98 additions, 27 deletionshtest/Test/Ganeti/Objects.hs
- htest/Test/Ganeti/OpCodes.hs 0 additions, 16 deletionshtest/Test/Ganeti/OpCodes.hs
- htest/Test/Ganeti/TestCommon.hs 48 additions, 0 deletionshtest/Test/Ganeti/TestCommon.hs
Loading
Please register or sign in to comment