travis-ci
262999 of 304873 relevant lines covered (86.27%)
1.0 hits per line
1 |
# -*- coding: utf-8 -*-
|
|
2 |
from __future__ import (absolute_import, division, print_function, |
1,618 all except ✔ |
3 |
unicode_literals) |
714 all except ✔ |
4 |
from future.builtins import * # NOQA |
749 all except ✔ |
5 |
|
449 all except ✔ |
6 |
import unittest |
1,008 all except ✔ |
7 |
|
834 all except ✔ |
8 |
from obspy.core.util import add_doctests, add_unittests |
1,064 all except ✔ |
9 |
|
610 all except ✔ |
10 |
|
939 all except ✔ |
11 |
MODULE_NAME = "obspy.core"
|
1,260 all except ✔ |
12 |
|
939 all except ✔ |
13 |
|
896 all except ✔ |
14 |
def suite(): |
1,079 all except ✔ |
15 |
suite = unittest.TestSuite() |
1,094 all except ✔ |
16 |
add_doctests(suite, MODULE_NAME) |
1,240 all except ✔ |
17 |
add_unittests(suite, MODULE_NAME) |
1,211 all except ✔ |
18 |
return suite
|
1,130 all except ✔ |
19 |
|
875 all except ✔ |
20 |
|
1,021 all except ✔ |
21 |
if __name__ == '__main__': |
859 all except ✔ |
22 |
unittest.main(defaultTest='suite')
|
986 all except ✔ |