glance/glance/tests/unit/v1
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 Adding versioned namespaces in test dir 2012-03-25 13:28:45 -07:00
test_api.py Replace assert* with more suitable asserts in unit tests 2014-04-17 10:35:46 +04:00
test_registry_api.py Replace assert* with more suitable asserts in unit tests 2014-04-17 10:35:46 +04:00
test_registry_client.py Replace assert* with more suitable asserts in unit tests 2014-04-17 10:35:46 +04:00
test_upload_utils.py Enable F841 check 2014-02-13 16:54:12 +04:00