File tree Expand file tree Collapse file tree
wolframclient/cli/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ from __future__ import absolute_import , print_function , unicode_literals
2+
3+ from wolframclient .cli .utils import SimpleCommand
4+ from wolframclient .utils import six
5+ from wolframclient .utils .decorators import to_tuple
6+
7+
8+ @to_tuple
9+ def dependencies ():
10+ yield "pytz"
11+
12+ if not six .PY2 :
13+ yield "aiohttp"
14+ yield "numpy"
15+ yield "oauthlib"
16+ yield "pandas"
17+ yield "pillow"
18+ yield "pyzmq"
19+ yield "requests"
20+ yield "unittest-xml-reporting"
21+ yield 'certifi>=2017.4.17'
22+
23+ class Command (SimpleCommand ):
24+ """ Run test suites from the tests modules.
25+ A list of patterns can be provided to specify the tests to run.
26+ """
27+
28+ dependencies = dependencies ()
Original file line number Diff line number Diff line change 44import unittest
55
66from wolframclient .cli .utils import SimpleCommand
7- from wolframclient .utils import six
8- from wolframclient .utils .decorators import to_tuple
97from wolframclient .utils .functional import map
108from wolframclient .utils .importutils import module_path
119
1210
13- # @to_tuple
14- # def dependencies():
15- # yield ("pytz", "2018.6")
16- #
17- # if not six.JYTHON:
18- # yield ("numpy", not six.PY2 and "1.15.3" or None)
19- # yield ("pillow", "7.1.2")
20- # yield ("requests", "2.20.0")
21- # yield ("oauthlib", "2.1.0")
22- # yield ("pyzmq", "17.1.2")
23- # yield ("pandas", "1.0.4")
24- # yield ("unittest-xml-reporting", None)
25- # if not six.PY2:
26- # yield ("aiohttp", "3.6.2")
27-
28-
2911class Command (SimpleCommand ):
3012 """ Run test suites from the tests modules.
3113 A list of patterns can be provided to specify the tests to run.
3214 """
3315
3416 modules = ["wolframclient.tests" ]
3517
36- dependencies = ()
37-
3818 def add_arguments (self , parser ):
3919 parser .add_argument (
4020 "-x" ,
You can’t perform that action at this time.
0 commit comments