aboutsummaryrefslogtreecommitdiff
path: root/tests/helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/helper.py')
-rw-r--r--tests/helper.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/helper.py b/tests/helper.py
index 4cf1b41..fcb0e9d 100644
--- a/tests/helper.py
+++ b/tests/helper.py
@@ -6,19 +6,9 @@ import requests_mock
6from io import StringIO 6from io import StringIO
7import portfolio, market, main, store 7import portfolio, market, main, store
8 8
9__all__ = ["limits", "unittest", "WebMockTestCase", "mock", "D", 9__all__ = ["unittest", "WebMockTestCase", "mock", "D",
10 "StringIO"] 10 "StringIO"]
11 11
12limits = ["acceptance", "unit"]
13for test_type in limits:
14 if "--no{}".format(test_type) in sys.argv:
15 sys.argv.remove("--no{}".format(test_type))
16 limits.remove(test_type)
17 if "--only{}".format(test_type) in sys.argv:
18 sys.argv.remove("--only{}".format(test_type))
19 limits = [test_type]
20 break
21
22class WebMockTestCase(unittest.TestCase): 12class WebMockTestCase(unittest.TestCase):
23 import time 13 import time
24 14