@unittest.skip('Long runner')
    def test_morphology_validates(self):
        # Load in raw morphology for ADAL
        self.config['rdf.graph'].parse("tests/test_data/PVDR.nml.rdf.xml",format='trig')
        n = Neuron(name='PVDR', conf=self.config)
        doc = PyOpenWorm.NeuroML.generate(n,1)
        writers.NeuroMLWriter.write(doc, "temp.nml")
        from neuroml.utils import validate_neuroml2
        f = sys.stdout
        try:
            sys.stdout = open(os.devnull, 'w')
        except:
            sys.stdout = f

        try:
            validate_neuroml2("temp.nml")
        except Exception, e:
            print e
            self.fail("Should validate")
        sys.stdout = f
Helper function. Adds item via UID. Returns inventory ID. Raises exception otherwise.
dataset/ETHPy150Open openworm/PyOpenWorm/tests/CellTest.py/CellTest.test_morphology_validates--crossover with--dataset/ETHPy150Open flags/Reactor-3/life.py/pick_up_item_from_ground