diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-05-27 20:03:50 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-05-27 20:03:50 +0000 |
| commit | cb1da522f2af9f6366cccd850f119351cf3ef0a9 (patch) | |
| tree | 5338348dd09e9b50e36ca74468f60c749a436d8d | |
| parent | dce25815d0d7bbe2af8d68c9ca4766dc0007ed54 (diff) | |
| parent | 9186885553ed8ad32c5a863c9efb63dd570a99bb (diff) | |
| download | python-openstackclient-cb1da522f2af9f6366cccd850f119351cf3ef0a9.tar.gz | |
Merge "Remove checks for None dates in keypair functional tests"
| -rw-r--r-- | functional/tests/compute/v2/test_keypair.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/functional/tests/compute/v2/test_keypair.py b/functional/tests/compute/v2/test_keypair.py index 0909c2d6..1c6e1b16 100644 --- a/functional/tests/compute/v2/test_keypair.py +++ b/functional/tests/compute/v2/test_keypair.py @@ -19,7 +19,7 @@ class KeypairTests(test.TestCase): """Functional tests for compute keypairs. """ NAME = uuid.uuid4().hex HEADERS = ['Name'] - FIELDS = ['deleted_at', 'name', 'updated_at'] + FIELDS = ['name'] @classmethod def setUpClass(cls): @@ -40,5 +40,4 @@ class KeypairTests(test.TestCase): def test_keypair_show(self): opts = self.get_show_opts(self.FIELDS) raw_output = self.openstack('keypair show ' + self.NAME + opts) - expected = "None\n" + self.NAME + "\nNone\n" - self.assertEqual(expected, raw_output) + self.assertEqual(self.NAME + "\n", raw_output) |
