File: __init__.py

package info (click to toggle)
pyxrd 0.8.4-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,848 kB
  • sloc: python: 26,500; sh: 301; makefile: 128
file content (17 lines) | stat: -rw-r--r-- 368 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/python

# coding=UTF-8
# ex:ts=4:sw=4:et=on

# Copyright (c) 2013, Mathijs Dumon
# All rights reserved.
# Complete license can be found in the LICENSE file.

import unittest

def run_all_tests(*args, **kwargs):
    all_tests = get_all_tests()
    unittest.TextTestRunner().run(all_tests)

def get_all_tests():
    return unittest.TestLoader().discover('.')