File: test_wreport.py

package info (click to toggle)
wreport 3.36-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,572 kB
  • sloc: cpp: 18,927; python: 583; sh: 78; makefile: 13
file content (8 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/usr/bin/python3
import wreport
import unittest


class Wreport(unittest.TestCase):
    def test_convert_units(self):
        self.assertAlmostEqual(wreport.convert_units("K", "C", 273.15), 0.0, places=4)