dom/media/test/external/external_media_tests/playback/test_ultra_low_bandwidth.py
author Syd Polk <spolk@mozilla.com>
Thu, 24 Mar 2016 11:49:05 -0500
changeset 291123 b2d35c87d6cddeea7f88e5bc4a7bccebd3100fce
parent 281274 5d8658bcefdc6cf8a5ad1608684cdbf5ca661b81
permissions -rw-r--r--
Bug 1258020 - Increase timeouts for network bandwidth limiting tests. Netflix takes a LONG time to load when bandwidth is low. r=maja_zf,SingingTree MozReview-Commit-ID: 3mukTlWesby

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

from marionette import BrowserMobProxyTestCaseMixin

from external_media_harness.testcase import NetworkBandwidthTestCase


class TestUltraLowBandwidth(NetworkBandwidthTestCase,
                                    BrowserMobProxyTestCaseMixin):

    def test_playback_limiting_bandwidth_160(self):
        self.proxy.limits({'downstream_kbps': 160})
        self.run_videos(timeout=120)