ganeti

Safe HaskellNone

Test.Ganeti.Query.Filter

Contents

Description

Unittests for ganeti-htools.

Synopsis

Helpers

checkQueryResults :: ConfigData -> Query -> String -> [[ResultEntry]] -> PropertySource

expectBadQuery :: ConfigData -> Query -> String -> PropertySource

namesToResult :: [String] -> [[ResultEntry]]Source

genClusterNames :: Int -> Int -> Gen (ConfigData, [String])Source

Test cases

prop_node_bad_filter :: String -> Int -> PropertySource