kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
fixed coverage checks
rodzic
c05268a5b4
commit
3aa968ed47
|
@ -5,19 +5,16 @@ omit =
|
||||||
NanoVNASaver/Analysis/*.py
|
NanoVNASaver/Analysis/*.py
|
||||||
NanoVNASaver/Calibration.py
|
NanoVNASaver/Calibration.py
|
||||||
NanoVNASaver/Charts/*.py
|
NanoVNASaver/Charts/*.py
|
||||||
|
NanoVNASaver/Controls/*.py
|
||||||
NanoVNASaver/Hardware/*.py
|
NanoVNASaver/Hardware/*.py
|
||||||
NanoVNASaver/Inputs.py
|
NanoVNASaver/Inputs.py
|
||||||
NanoVNASaver/Marker/Settings.py
|
NanoVNASaver/Marker/*.py
|
||||||
NanoVNASaver/Marker/Values.py
|
|
||||||
NanoVNASaver/Marker/Widget.py
|
|
||||||
NanoVNASaver/Marker/__init__.py
|
|
||||||
NanoVNASaver/NanoVNASaver.py
|
NanoVNASaver/NanoVNASaver.py
|
||||||
NanoVNASaver/Settings.py
|
NanoVNASaver/Settings.py
|
||||||
NanoVNASaver/SweepWorker.py
|
NanoVNASaver/SweepWorker.py
|
||||||
NanoVNASaver/Windows/*.py
|
NanoVNASaver/Windows/*.py
|
||||||
NanoVNASaver/__init__.py
|
**/__init__.py
|
||||||
NanoVNASaver/__main__.py
|
NanoVNASaver/__main__.py
|
||||||
NanoVNASaver/about.py
|
|
||||||
[report]
|
[report]
|
||||||
fail_under = 90.0
|
fail_under = 90.0
|
||||||
show_missing = True
|
show_missing = True
|
||||||
|
|
|
@ -60,6 +60,9 @@ class TestCases(unittest.TestCase):
|
||||||
self.assertEqual(parse_frequency('123.kHz'), 123000)
|
self.assertEqual(parse_frequency('123.kHz'), 123000)
|
||||||
self.assertEqual(parse_frequency('123.MHz'), 123000000)
|
self.assertEqual(parse_frequency('123.MHz'), 123000000)
|
||||||
self.assertEqual(parse_frequency('123.GHz'), 123000000000)
|
self.assertEqual(parse_frequency('123.GHz'), 123000000000)
|
||||||
|
self.assertEqual(parse_frequency('123.KHz'), 123000)
|
||||||
|
self.assertEqual(parse_frequency('123.mHz'), 123000000)
|
||||||
|
self.assertEqual(parse_frequency('123.gHz'), 123000000000)
|
||||||
|
|
||||||
def test_unusualSIUnits(self):
|
def test_unusualSIUnits(self):
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
@ -76,7 +79,6 @@ class TestCases(unittest.TestCase):
|
||||||
self.assertEqual(parse_frequency('123ZHz'), 123000000000000000000000)
|
self.assertEqual(parse_frequency('123ZHz'), 123000000000000000000000)
|
||||||
self.assertEqual(parse_frequency('123aHz'), 0)
|
self.assertEqual(parse_frequency('123aHz'), 0)
|
||||||
self.assertEqual(parse_frequency('123fHz'), 0)
|
self.assertEqual(parse_frequency('123fHz'), 0)
|
||||||
self.assertEqual(parse_frequency('123mHz'), 0)
|
|
||||||
self.assertEqual(parse_frequency('123nHz'), 0)
|
self.assertEqual(parse_frequency('123nHz'), 0)
|
||||||
self.assertEqual(parse_frequency('123pHz'), 0)
|
self.assertEqual(parse_frequency('123pHz'), 0)
|
||||||
self.assertEqual(parse_frequency('123yHz'), 0)
|
self.assertEqual(parse_frequency('123yHz'), 0)
|
||||||
|
|
Ładowanie…
Reference in New Issue