• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2014 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
5import unittest
6import tempfile
7import shutil
8
9from tracing_build import generate_about_tracing_contents
10
11
12class GenerateAboutTracingContentsUnittTest(unittest.TestCase):
13
14  def testSmoke(self):
15    try:
16      tmpdir = tempfile.mkdtemp()
17      res = generate_about_tracing_contents.Main(['--outdir', tmpdir])
18      assert res == 0
19    finally:
20      shutil.rmtree(tmpdir)
21