Safe Haskell | None |
---|
Unittests for ganeti-htools.
Synopsis
- prop_addTwo :: [Key] -> Int -> Int -> Bool
- prop_nameOf :: Node -> Property
- prop_findByName :: Property
- testHTools_Container :: Test
Documentation
prop_addTwo :: [Key] -> Int -> Int -> Bool Source #
prop_nameOf :: Node -> Property Source #
prop_findByName :: Property Source #
We test that in a cluster, given a random node, we can find it by its name and alias, as long as all names and aliases are unique, and that we fail to find a non-existing name.
testHTools_Container :: Test Source #