python_testing
This is an old revision of the document!
Python Testing
python setup.py test
Example
flux_densities/tests/test.py:
from unittest import TestCase
import flux_densities as fd
class TestFluxDensities(TestCase):
def test_souurce_list(self):
source_list = fd.get_sources()
assert(len(source_list) == 20)
python_testing.1576954317.txt.gz · Last modified: 2019/12/21 18:51 by jrseti