Revision b1b4a26b test/hs/Test/Ganeti/Objects.hs

b/test/hs/Test/Ganeti/Objects.hs
57 57
import Ganeti.JSON
58 58
import Ganeti.Types
59 59

  
60
{-# ANN module "HLint: ignore Use camelCase" #-}
61

  
62 60
-- * Arbitrary instances
63 61

  
64 62
$(genArbitrary ''PartialNDParams)
......
300 298
-- networks and their Python decoded, validated and re-encoded version.
301 299
-- For the technical background of this unit test, check the documentation
302 300
-- of "case_py_compat_types" of test/hs/Test/Ganeti/Opcodes.hs
303
case_py_compat_networks :: HUnit.Assertion
304
case_py_compat_networks = do
301
casePyCompatNetworks :: HUnit.Assertion
302
casePyCompatNetworks = do
305 303
  let num_networks = 500::Int
306 304
  networks <- genSample (vectorOf num_networks genValidNetwork)
307 305
  let networks_with_properties = map getNetworkProperties networks
......
349 347

  
350 348
-- | Tests the compatibility between Haskell-serialized node groups and their
351 349
-- python-decoded and encoded version.
352
case_py_compat_nodegroups :: HUnit.Assertion
353
case_py_compat_nodegroups = do
350
casePyCompatNodegroups :: HUnit.Assertion
351
casePyCompatNodegroups = do
354 352
  let num_groups = 500::Int
355 353
  groups <- genSample (vectorOf num_groups genNodeGroup)
356 354
  let serialized = J.encode groups
......
417 415
  , 'prop_Network_serialisation
418 416
  , 'prop_Node_serialisation
419 417
  , 'prop_Config_serialisation
420
  , 'case_py_compat_networks
421
  , 'case_py_compat_nodegroups
418
  , 'casePyCompatNetworks
419
  , 'casePyCompatNodegroups
422 420
  ]

Also available in: Unified diff