Revision 861610e9 test/ganeti.rapi.rlib2_unittest.py

b/test/ganeti.rapi.rlib2_unittest.py
818 818
      None,
819 819
      {},
820 820
      { constants.BE_VCPUS: 2, },
821
      { constants.BE_MEMORY: 123, },
821
      { constants.BE_MAXMEM: 200, },
822
      { constants.BE_MEMORY: 256, },
822 823
      { constants.BE_VCPUS: 2,
823
        constants.BE_MEMORY: 1024,
824
        constants.BE_MAXMEM: 1024,
825
        constants.BE_MINMEM: 1024,
824 826
        constants.BE_AUTO_BALANCE: True, }
825 827
      ]
826 828

  
......
1248 1250

  
1249 1251
    for osparams in [{}, { "some": "value", "other": "Hello World", }]:
1250 1252
      for hvparams in [{}, { constants.HV_KERNEL_PATH: "/some/kernel", }]:
1251
        for beparams in [{}, { constants.BE_MEMORY: 128, }]:
1253
        for beparams in [{}, { constants.BE_MAXMEM: 128, }]:
1252 1254
          for force in [False, True]:
1253 1255
            for nics in [[], [(0, { constants.INIC_IP: "192.0.2.1", })]]:
1254 1256
              for disks in test_disks:

Also available in: Unified diff