1# Copyright 2017 The Chromium Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5 6import os.path 7import unittest 8 9 10class OutputManagerTestCase(unittest.TestCase): 11 12 def assertUsableTempFile(self, archived_tempfile): 13 self.assertTrue(bool(archived_tempfile.name)) 14 self.assertTrue(os.path.exists(archived_tempfile.name)) 15 self.assertTrue(os.path.isfile(archived_tempfile.name)) 16