def test_source_is_dict(source_gaussian, target_gaussian, prior):
    source = dict(gaussian=source_gaussian)
    target = af.CollectionPriorModel(gaussian=target_gaussian)
    target.take_attributes(source)
    assert (target.gaussian.centre == prior)
def test_source_is_dict(source_gaussian, target_gaussian, prior):
    source = dict(gaussian=source_gaussian)
    target = af.CollectionPriorModel(gaussian=target_gaussian)
    target.take_attributes(source)
    assert (target.gaussian.centre == prior)