summaryrefslogtreecommitdiffstats
path: root/dom/media/test/external/external_media_tests/playback/test_ultra_low_bandwidth.py
blob: d49ff7d9423ceda8b1d7950a794ad0bcf7e4f93f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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_harness 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)