ESBO-ETC/tests/test_esbo_etc.py
2020-09-09 16:59:55 +02:00

11 lines
292 B
Python

from unittest import TestCase
from esbo_etc import esbo_etc
import logging
class Testesbo_etc(TestCase):
def test_run(self):
etc = esbo_etc("tests/data/esbo-etc_defaults.xml", logging.WARNING)
res = etc.run()
self.assertAlmostEqual(res.value, 47.29125798685691)