Skip to content

Commit

Permalink
Removing assertGreaterEqual
Browse files Browse the repository at this point in the history
Python 2.6 doesn't support this, so we should use assertTrue
instead. Fixes bug 888711

Change-Id: I78a0603bc4979ae3831394ea57f12fd328e03573
  • Loading branch information
Brian Waldon committed Nov 10, 2011
1 parent 48d4079 commit 4213a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glance/tests/functional/test_bin_glance.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ def test_show_image_format(self):
'Minimum Disk Required (GB): 0',
]

self.assertGreaterEqual(set(lines), set(expected_lines))
self.assertTrue(set(lines) >= set(expected_lines))

# 3. Delete the image
cmd = "bin/glance --port=%d --force delete %s" % (api_port, image_id)
Expand Down

0 comments on commit 4213a1e

Please sign in to comment.