test_chrome_window_status.py (645B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 5 import os 6 import sys 7 8 # add this directory to the path 9 sys.path.append(os.path.dirname(__file__)) 10 11 from test_window_status import TestNoSuchWindowContent 12 13 14 class TestNoSuchWindowChrome(TestNoSuchWindowContent): 15 def setUp(self): 16 super(TestNoSuchWindowChrome, self).setUp() 17 18 self.marionette.set_context("chrome") 19 20 def tearDown(self): 21 self.close_all_windows() 22 23 super(TestNoSuchWindowChrome, self).tearDown()