blob: dd31b7ec344edb567c3e28ef4ad32fea5e3fce2d [file] [log] [blame]
# Copyright (c) 2014 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 unittest
import tempfile
import shutil
from tracing_build import generate_about_tracing_contents
class GenerateAboutTracingContentsUnittTest(unittest.TestCase):
def testSmoke(self):
try:
tmpdir = tempfile.mkdtemp()
res = generate_about_tracing_contents.Main(['--outdir', tmpdir])
assert res == 0
finally:
shutil.rmtree(tmpdir)