Exemple #1
0
def test_validate_astropy_quantities():
    config = AnalysisConfig()
    cfg = {
        "observations": {
            "filters": [{
                "filter_type": "all",
                "lon": "1 deg"
            }]
        }
    }
    config.update_settings(cfg)
    assert config.validate() is None
Exemple #2
0
def test_validate_config():
    config = AnalysisConfig()
    assert config.validate() is None