def test_Calibrant(self):
    from pyFAI import calibrant
    calibrant = calibrant.CalibrantFactory()('AgBh')
    assert dumps(calibrant)
    assert loads(dumps(calibrant))
def test_Calibrant(self):
    from pyFAI import calibrant
    calibrant = calibrant.CalibrantFactory()('AgBh')
    assert dumps(calibrant)
    assert loads(dumps(calibrant))