mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
bb1ad558ba
does not require installing nose.
42 lines
1.4 KiB
Python
42 lines
1.4 KiB
Python
import os
|
|
import sys
|
|
import unittest
|
|
|
|
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
|
|
|
import test_diff
|
|
import test_fetch_branches
|
|
import test_fetch_command
|
|
import test_fetch_command_regexes
|
|
import test_fetch_exec
|
|
import test_fetch_renames
|
|
import test_fetch_symlinks
|
|
import test_fetch_truncated
|
|
import test_push_command
|
|
import test_push_renames
|
|
import test_push_dirs
|
|
import test_push_eol
|
|
import test_tags
|
|
import test_utility_commands
|
|
|
|
def suite():
|
|
return unittest.TestSuite([test_diff.suite(),
|
|
test_fetch_branches.suite(),
|
|
test_fetch_command.suite(),
|
|
test_fetch_command_regexes.suite(),
|
|
test_fetch_exec.suite(),
|
|
test_fetch_renames.suite(),
|
|
test_fetch_symlinks.suite(),
|
|
test_fetch_truncated.suite(),
|
|
test_push_command.suite(),
|
|
test_push_renames.suite(),
|
|
test_push_dirs.suite(),
|
|
test_push_eol.suite(),
|
|
test_tags.suite(),
|
|
test_utility_commands.suite(),
|
|
])
|
|
|
|
if __name__ == '__main__':
|
|
runner = unittest.TextTestRunner()
|
|
runner.run(suite())
|