def test_is_reference_test_given_reference_test(self): updater = WPTExpectationsUpdater(self.mock_host()) self.assertTrue(updater.is_reference_test('external/wpt/reftest.html'))
def test_is_reference_test_given_non_existent_file(self): updater = WPTExpectationsUpdater(self.mock_host()) self.assertFalse(updater.is_reference_test('foo/bar.html'))
def test_is_reference_test_given_testharness_test(self): updater = WPTExpectationsUpdater(self.mock_host()) self.assertFalse(updater.is_reference_test('test/path.html'))