mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-04-19 14:23:08 +01:00
12 lines
317 B
Python
12 lines
317 B
Python
#!/usr/bin/env python
|
|
import unittest
|
|
from cachet_url_monitor.configuration import Configuration
|
|
|
|
|
|
class ConfigurationTest(unittest.TestCase):
|
|
def test_init(self):
|
|
configuration = Configuration('config.yml')
|
|
|
|
assert len(configuration.data) == 3
|
|
assert len(configuration.expectations) == 2
|