mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Fix test
This commit is contained in:
@@ -6,6 +6,9 @@ MAXIMUM_STARTUP_TIME = 0.5
|
|||||||
|
|
||||||
|
|
||||||
def test_startup_time():
|
def test_startup_time():
|
||||||
|
# warm up to generate pyc
|
||||||
|
subprocess.run(["freqtrade", "-h"])
|
||||||
|
|
||||||
start = time.time()
|
start = time.time()
|
||||||
subprocess.run(["freqtrade", "-h"])
|
subprocess.run(["freqtrade", "-h"])
|
||||||
elapsed = time.time() - start
|
elapsed = time.time() - start
|
||||||
|
|||||||
Reference in New Issue
Block a user