Revision c81b97f2 test/py/ganeti.query_unittest.py
b/test/py/ganeti.query_unittest.py | ||
---|---|---|
1 | 1 |
#!/usr/bin/python |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2010, 2011, 2012 Google Inc. |
|
4 |
# Copyright (C) 2010, 2011, 2012, 2013 Google Inc.
|
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
524 | 524 |
list(node_to_primary[master_name]))) |
525 | 525 |
self.assertEqual(live_data_row[field_index["sinst_list"]], |
526 | 526 |
(constants.RS_NORMAL, |
527 |
list(node_to_secondary[live_data_name])))
|
|
527 |
utils.NiceSort(list(node_to_secondary[live_data_name]))))
|
|
528 | 528 |
|
529 | 529 |
def testGetLiveNodeField(self): |
530 | 530 |
nodes = [ |
Also available in: Unified diff