Use 'os_primary' property insead of deprecated 'os'

Read-only property 'os' has moved to 'os_primary' in version 'Pike' and
will be removed in version 'Queens'

Change-Id: Ice03458c69d0e107dac6f6735391c3e8567cf855
This commit is contained in:
Ivan Kolodyazhny 2017-06-07 23:05:29 +03:00
parent a3312bcad1
commit 51995f7fd5
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ class TestDashboardBasicOps(test.BaseTestCase):
@decorators.idempotent_id('4f8851b1-0e69-482b-b63b-84c6e76f6c80')
def test_basic_scenario(self):
creds = self.os.credentials
creds = self.os_primary.credentials
self.check_login_page()
self.user_login(creds.username, creds.password)
self.check_home_page()