diff options
| author | Lingxian Kong <anlin.kong@gmail.com> | 2019-12-25 00:29:21 +1300 |
|---|---|---|
| committer | Lingxian Kong <anlin.kong@gmail.com> | 2019-12-25 00:38:50 +1300 |
| commit | 4463f36eb0760aa042d6300fb9870e114bc2fbb8 (patch) | |
| tree | cb79266c151b5bf4fe19e429055aea3798cba551 /troveclient/tests | |
| parent | cee4ed81d86e2fd3cd6ef7e77d6e4f4263b9cf16 (diff) | |
| download | python-troveclient-4463f36eb0760aa042d6300fb9870e114bc2fbb8.tar.gz | |
Add IP addresses in instance list output
Change-Id: I469fe301f438577ee7c897dcddb28cb672e50c6b
Diffstat (limited to 'troveclient/tests')
| -rw-r--r-- | troveclient/tests/osc/v1/test_database_instances.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/troveclient/tests/osc/v1/test_database_instances.py b/troveclient/tests/osc/v1/test_database_instances.py index e621412..dcb2b5f 100644 --- a/troveclient/tests/osc/v1/test_database_instances.py +++ b/troveclient/tests/osc/v1/test_database_instances.py @@ -55,10 +55,10 @@ class TestInstanceList(TestInstances): ) values = [ - ('1234', 'test-member-1', 'mysql', '5.6', 'ACTIVE', '02', 2, - 'regionOne'), - ('5678', 'test-member-2', 'mysql', '5.6', 'ACTIVE', '2', 2, - 'regionOne') + ('1234', 'test-member-1', 'mysql', '5.6', 'ACTIVE', '10.0.0.13', + '02', 2, 'regionOne'), + ('5678', 'test-member-2', 'mysql', '5.6', 'ACTIVE', '10.0.0.14', + '2', 2, 'regionOne') ] self.assertEqual(values, data) @@ -77,9 +77,9 @@ class TestInstanceList(TestInstances): expected_instances = [ ('1234', 'test-member-1', 'fake_tenant_id', 'mysql', '5.6', - 'ACTIVE', '02', 2), + 'ACTIVE', '10.0.0.13', '02', 2), ('5678', 'test-member-2', 'fake_tenant_id', 'mysql', '5.6', - 'ACTIVE', '2', 2) + 'ACTIVE', '10.0.0.14', '2', 2) ] self.assertEqual(expected_instances, instances) |
