]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Trader.git/blobdiff - tests/helper.py
Add acceptance tests
[perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Trader.git] / tests / helper.py
index 4cf1b41d7d1c5426090ba0938bd19f902d384fff..fcb0e9dc3575d9c1426d016214fcc5183bde1e83 100644 (file)
@@ -6,19 +6,9 @@ import requests_mock
 from io import StringIO
 import portfolio, market, main, store
 
-__all__ = ["limits", "unittest", "WebMockTestCase", "mock", "D",
+__all__ = ["unittest", "WebMockTestCase", "mock", "D",
         "StringIO"]
 
-limits = ["acceptance", "unit"]
-for test_type in limits:
-    if "--no{}".format(test_type) in sys.argv:
-        sys.argv.remove("--no{}".format(test_type))
-        limits.remove(test_type)
-    if "--only{}".format(test_type) in sys.argv:
-        sys.argv.remove("--only{}".format(test_type))
-        limits = [test_type]
-        break
-
 class WebMockTestCase(unittest.TestCase):
     import time