Merge pull request #55361 from Akm0d/vultr_list_sizes

Fixed vultr list_sizes test
This commit is contained in:
Daniel Wozniak 2019-11-19 11:46:36 -07:00 committed by GitHub
commit 8cad5abdee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,10 +45,7 @@ class VultrTest(CloudTest):
Tests the return of running the --list-sizes command for Vultr Tests the return of running the --list-sizes command for Vultr
''' '''
size_list = self.run_cloud('--list-sizes {0}'.format(self.PROVIDER)) size_list = self.run_cloud('--list-sizes {0}'.format(self.PROVIDER))
self.assertIn( self.assertIn('2048 MB RAM,64 GB SSD,2.00 TB BW', [i.strip() for i in size_list])
'32768 MB RAM,4x110 GB SSD,40.00 TB BW',
[i.strip() for i in size_list]
)
# Commented for now, Vultr driver does not yet support key management # Commented for now, Vultr driver does not yet support key management
# def test_key_management(self): # def test_key_management(self):