mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
15 lines
468 B
Python
15 lines
468 B
Python
|
# Copyright 2017 The Chromium Authors. All rights reserved.
|
||
|
# Use of this source code is governed by a BSD-style license that can be
|
||
|
# found in the LICENSE file.
|
||
|
|
||
|
import os.path
|
||
|
import unittest
|
||
|
|
||
|
|
||
|
class OutputManagerTestCase(unittest.TestCase):
|
||
|
|
||
|
def assertUsableTempFile(self, archived_tempfile):
|
||
|
self.assertTrue(bool(archived_tempfile.name))
|
||
|
self.assertTrue(os.path.exists(archived_tempfile.name))
|
||
|
self.assertTrue(os.path.isfile(archived_tempfile.name))
|