heat/heat/tests/engine
Bertrand Lallau 1216d357f0 Use assertIn and assertNotIn
Tests should use:
  self.assertIn(value, list)
  self.assertNotIn(value, list)

instead of:
  self.assertTrue(value in list)
  self.assertFalse(value in list)

because assertIn and assertNotIn raise more meaningful errors:
  self.assertIn(3, [1, 2]
  >>> MismatchError: 3 not in [1, 2]

  self.assertTrue(3 in [1, 2])
  >>> AssertionError: False is not true

Change-Id: I4b24b6e00bf26c0a68a9d8f9eb9185c435791dfc
Closes-Bug: #1510007
2015-10-26 22:40:14 +01:00
..
service Assign updated stack ID during stack update preview 2015-10-12 13:03:22 -05:00
__init__.py Split engine service test case 2015-04-20 10:19:58 -04:00
test_dependencies.py Use assertIn and assertNotIn 2015-10-26 22:40:14 +01:00
test_engine_worker.py Convergence: Fix to persist stack status in DB 2015-10-07 15:15:58 +05:30
test_plugin_manager.py Move core engine related unit tests to tests/engine 2015-07-21 17:37:20 +05:30
test_resource_type.py Add base_attributes_schema to documentation 2015-08-14 12:00:28 +03:00
test_scheduler.py py34: cleanup 2015-10-08 20:10:54 +05:30
test_sync_point.py Convergence: Fix failing integration tests 2015-09-12 08:30:04 +00:00
tools.py Fix [H405] pep rule in heat/tests 2015-10-12 14:08:16 +03:00