mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 04:03:55 +00:00
15 lines
269 B
Python
15 lines
269 B
Python
"""
|
|
Unit test file for constants.py
|
|
"""
|
|
|
|
from freqtrade.state import State
|
|
|
|
|
|
def test_state_object() -> None:
|
|
"""
|
|
Test the State object has the mandatory states
|
|
:return: None
|
|
"""
|
|
assert hasattr(State, 'RUNNING')
|
|
assert hasattr(State, 'STOPPED')
|