Commit c5523108 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix one more unrelated constant comparison.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@341 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent f9d11105
...@@ -843,7 +843,7 @@ class testPartitionTable(unittest.TestCase): ...@@ -843,7 +843,7 @@ class testPartitionTable(unittest.TestCase):
cells = pt.getCellList(0) cells = pt.getCellList(0)
self.assertEqual(len(cells), 3) self.assertEqual(len(cells), 3)
for cell in cells: for cell in cells:
self.assertNotEqual(cell.getState(), BROKEN_STATE) self.assertNotEqual(cell.getState(), DISCARDED_STATE)
if cell.getNode() == sn2: if cell.getNode() == sn2:
self.assertEqual(cell.getState(), UP_TO_DATE_STATE) self.assertEqual(cell.getState(), UP_TO_DATE_STATE)
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment