Make test_model_data test_set_many_failure slightly more robust

This commit is contained in:
Calen Pennington
2015-04-21 16:00:21 -04:00
parent 67d66184a7
commit 12740fa4ac

View File

@@ -373,7 +373,7 @@ class StorageTestBase(object):
exception = exception_context.exception
self.assertEquals(len(exception.saved_field_names), 1)
self.assertEquals(exception.saved_field_names[0], 'other_existing_field')
self.assertIn(exception.saved_field_names[0], ('existing_field', 'other_existing_field'))
class TestUserStateSummaryStorage(StorageTestBase, TestCase):