- def test_coffebot_url(self):
- c = Conf()
- self.assertIn("https://hooks.slack.com/services/", c.getCoffeebotURL())
-
- def test_db_url(self):
- c = Conf()
- self.assertIn(".db", c.getCoffeeDbPath())
+class Configuration(TestCase):
+ def test_config_exists(self):
+ assert len(conf.TESTCOFFEEBOT_SLACK_URL) > 0
+ assert len(conf.COFFEEBOT_SLACK_URL) > 0
+ assert len(conf.DB_PATH) > 0