commit | e2a7444ab59595cda07ee1fdc65aac43db1cbbdf | [log] [tgz] |
---|---|---|
author | Steven Hardy <shardy@redhat.com> | Tue Mar 25 12:10:52 2014 +0000 |
committer | Steven Hardy <shardy@redhat.com> | Tue Apr 08 16:28:36 2014 +0100 |
tree | 1343da2c16ba63eadf5790248686de8f3a67a79c | |
parent | 6b200971c25c18d1ce7c4301d28c12f0422dc427 [diff] |
orchestration API refactor test_list_resources Rework test_list_resources so we do a more explicit test of the resource list which is returned - we expect exactly one resource, so using assertIn is less explicit than assertEqual. Refactoring the code which reads and validates the resource list will enable other tests to more easily reuse the resource-listing code. Change-Id: I0c1cb52d92f609781ee21dd3f7d52ceef85e0766