def test_service_platform_precedence(self):
    self.mock_client.api_version = '1.35'
    service = Service('foo', client=self.mock_client, platform='linux/arm', default_platform='osx')
    assert (service.platform == 'linux/arm')
def test_service_platform_precedence(self):
    self.mock_client.api_version = '1.35'
    service = Service('foo', client=self.mock_client, platform='linux/arm', default_platform='osx')
    assert (service.platform == 'linux/arm')