OLD | NEW |
| (Empty) |
1 #!/usr/bin/env python | |
2 # Copyright 2014 The Chromium Authors. All rights reserved. | |
3 # Use of this source code is governed by a BSD-style license that can be | |
4 # found in the LICENSE file. | |
5 | |
6 import os | |
7 import subprocess | |
8 import unittest | |
9 | |
10 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | |
11 | |
12 class ShowMeTheModulesTest(unittest.TestCase): | |
13 def testShowMeTheModules(self): | |
14 scriptPath = os.path.join(BASE_DIR, 'show_me_the_modules.py') | |
15 exitcode = subprocess.call(['python', scriptPath]) | |
16 self.assertEqual(0, exitcode) | |
17 | |
18 if __name__ == '__main__': | |
19 unittest.TestCase.maxDiff = None | |
20 unittest.main() | |
OLD | NEW |