Source code for sciunit.unit_test.observation_tests
"""Unit tests for observations."""importunittestfromsciunit.utilsimportNotebookTools
[docs]classObservationsTestCase(unittest.TestCase,NotebookTools):"""Unit tests for the sciunit module"""path="."
[docs]deftest_observation_validation(self):"""Test validation of observations against the `observation_schema`."""self.do_notebook("validate_observation")