Revision 6e8091f9 test/cfgupgrade_unittest.py

b/test/cfgupgrade_unittest.py
93 93
      "version": constants.CONFIG_VERSION,
94 94
      "cluster": {},
95 95
      "instances": {},
96
      "nodegroups": {},
96 97
      }))
97 98

  
98 99
    hostname = netutils.GetHostname().name
......
108 109
      "version": constants.CONFIG_VERSION,
109 110
      "cluster": {},
110 111
      "instances": {},
112
      "nodegroups": {},
111 113
      }))
112 114

  
113 115
    utils.WriteFile(self.ss_master_node_path,
......
124 126
        "config_version": 0,
125 127
        },
126 128
      "instances": {},
129
      "nodegroups": {},
127 130
      }
128 131
    utils.WriteFile(self.config_path, data=serializer.DumpJson(cfg))
129 132
    self.assertRaises(Exception, _RunUpgrade, self.tmpdir, False, True)
......
148 151
      "version": from_version,
149 152
      "cluster": cluster,
150 153
      "instances": {},
154
      "nodegroups": {},
151 155
      }
152 156
    self._CreateValidConfigDir()
153 157
    utils.WriteFile(self.config_path, data=serializer.DumpJson(cfg))

Also available in: Unified diff