Test added
This commit is contained in:
parent
7a7ceb936d
commit
99adef1da7
10
tests/test_esbo_etc.py
Normal file
10
tests/test_esbo_etc.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
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)
|
Loading…
x
Reference in New Issue
Block a user