try:
    from . import generic as g
except BaseException:
import generic as g

try:
    import gmsh
except ImportError:
    pass

def test_generate():
    """

    """
    m = g.trimesh.creation.icosahedron()
    
    try:
        generate(m)
        assert True
    except:
        assert False

try:
    from . import generic as g
except BaseException:
    import generic as g

try:
    import gmsh
except ImportError:
    pass

def test_generate():
    """

    """
    m = g.trimesh.creation.icosahedron()
    
    try:
        generate(m)
        assert True
    except:
        assert False

Update test_solid_fea.py