Skip to content

Commit

Permalink
fixed broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
whittlem committed Aug 11, 2023
1 parent 47f033e commit e629923
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions config.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"sellsmartswitch": 0,
"trailingbuypcnt": 0.5,
"telegramtradesonly": 0,
"granularity": "3600",
"granularity": "3600"
}
},
"coinbasepro": {
Expand Down Expand Up @@ -108,7 +108,7 @@
"sellsmartswitch": 0,
"trailingbuypcnt": 0.5,
"telegramtradesonly": 0,
"granularity": "3600",
"granularity": "3600"
}
},
"telegram": {
Expand Down
5 changes: 1 addition & 4 deletions tests/unit_tests/test_telegram_bot.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import os
import sys
import unittest
# pylint: disable=import-error
from models.telegram import (
Wrapper,
)

sys.path.append(".")
from models.telegram import Wrapper

wrapper = Wrapper("config.json.sample")
wrapper.helper.datafolder = os.path.join(os.curdir, "tests", "unit_tests", "data")
Expand Down

0 comments on commit e629923

Please sign in to comment.