ganeti
Safe HaskellNone

Test.Ganeti.HTools.Loader

Description

Unittests for ganeti-htools.

Synopsis

Documentation

prop_lookupNode :: [(String, Int)] -> String -> String -> Property Source #

prop_lookupInstance :: [(String, Int)] -> String -> Property Source #

prop_mergeData :: [Node] -> Bool Source #

Checks that the number of primary instances recorded on the nodes is zero.

prop_compareNameComponent_equal :: String -> Bool Source #

Check that compareNameComponent on equal strings works.

prop_compareNameComponent_prefix :: NonEmptyList Char -> String -> Bool Source #

Check that compareNameComponent on prefix strings works.