glance/glance/tests/unit/common
Sergey Nikitin 84dbe32a6d Replace assert* with more suitable asserts in unit tests
The following replacements were done in unit tests to have
clearer messages in case of failure:
- assertTrue(* is None) with assertIsNone
- assertTrue(* is not None) with assertIsNotNone
- assertTrue(* in *) with assertIn
- assertTrue(* not in *) with assertNotIn
- assertFalse(* in *) with assertNotIn
- assertTrue(* == *) with assertEqual
- assertTrue(* != *) with assertNotEqual

Change-Id: I0c47f991c3974e441335e71c9d26fab8a127f2ca
2014-04-17 10:35:46 +04:00
..
__init__.py Improve unit tests for glance.common package 2013-05-20 17:31:22 +03:00
test_client.py Enable F40X checking 2013-11-27 18:15:48 +02:00
test_config.py Merge "Change assertTrue(isinstance()) by optimal assert" 2014-01-19 05:04:52 +00:00
test_exception.py Replace assert* with more suitable asserts in unit tests 2014-04-17 10:35:46 +04:00
test_location_strategy.py API v2: Allow GET on unowned images with show_image_direct_url 2014-03-11 16:39:05 -04:00
test_property_utils.py Merge "Check first matching rule for protected properties" 2014-01-24 12:29:39 +00:00
test_rpc.py Replace assert* with more suitable asserts in unit tests 2014-04-17 10:35:46 +04:00
test_utils.py Refactor UUID test 2014-02-27 14:12:01 +08:00
test_wsgi.py Replace assert* with more suitable asserts in unit tests 2014-04-17 10:35:46 +04:00