def test_loading():
    dist = importlib_metadata.distribution('gaphor')
    model_file = dist.locate_file('tests/test-model.gaphor')
    outfile = PseudoFile()
    generate(model_file, outfile)
    assert (outfile.data == GENERATED), f'"""{outfile.data}"""'
def test_loading():
    dist = importlib_metadata.distribution('gaphor')
    model_file = dist.locate_file('tests/test-model.gaphor')
    outfile = PseudoFile()
    generate(model_file, outfile)
    assert (outfile.data == GENERATED), f'"{outfile.data}"'