Skip to content

Commit eb3030a

Browse files
committed
add mocking to the tests
1 parent 44b7dcc commit eb3030a

File tree

7 files changed

+19979
-18
lines changed

7 files changed

+19979
-18
lines changed

tests/conftest.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# project root directory
2+
from pathlib import Path
3+
4+
import pandas as pd
5+
6+
PROJECT_ROOT = Path(__file__).parent.parent
7+
8+
9+
def get_freqtrade_commits():
10+
"""Get freqtrade commits."""
11+
return pd.read_csv(PROJECT_ROOT / "tests/fixtures/repo_freqtrade.csv")

0 commit comments

Comments
 (0)