Kaido Kert | 5ac52c4 | 2021-05-14 12:23:37 -0700 | [diff] [blame] | 1 | # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | from __future__ import absolute_import |
| 6 | import os.path |
| 7 | import unittest |
| 8 | |
| 9 | |
| 10 | class 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)) |