-# -*- coding: utf-8 -*-
-"""Get configuration."""
-from json import loads
-from os.path import dirname, abspath
-
-class Conf:
- PATH = "{}/.cfg".format(dirname(abspath(__file__)))
-
- def __init__(self):
- with open(Conf.PATH) as f:
- self.conf = loads(f.read())
- return None
-
- def getCoffeebotURL(self):
- """Return URL of Slack Coffeebot."""
- return self.conf["coffeebot"]["url"]
-
- def getCoffeeDbPath(self):
- """Return the path to database with coffees."""
- return self.conf["coffeedb"]["path"]
+TESTCOFFEEBOT_SLACK_URL = "..."
+COFFEEBOT_SLACK_URL = "..."
+DB_PATH = "./coffee.db"