<s> from __future__ import print_function <EOL> import sys <EOL> sys . path . insert ( <NUM_LIT:0> , "<STR_LIT:.>" ) <EOL> import unittest <EOL> import neuroml <EOL> import neuroml . writers as writers <EOL> import PyOpenWorm <EOL> from PyOpenWorm import * <EOL> import networkx <EOL> import rdflib <EOL> import rdflib as R <EOL> import pint as Q <EOL> import os <EOL> import subprocess as SP <EOL> import subprocess <EOL> import tempfile <EOL> import doctest <EOL> from glob import glob <EOL> from GraphDBInit import * <EOL> from DataTestTemplate import _DataTest <EOL> class MuscleTest ( _DataTest ) : <EOL> def test_muscle ( self ) : <EOL> self . assertTrue ( isinstance ( Muscle ( name = '<STR_LIT>' ) , Muscle ) ) <EOL> def test_innervatedBy ( self ) : <EOL> m = Muscle ( '<STR_LIT>' ) <EOL> n = Neuron ( '<STR_LIT>' ) <EOL> m . innervatedBy ( n ) <EOL> m . save ( ) <EOL> v = Muscle ( name = '<STR_LIT>' ) <EOL> self . assertIn ( n , list ( v . innervatedBy ( ) ) ) <EOL> def test_muscle_neurons ( self ) : <EOL> """<STR_LIT>""" <EOL> m = Muscle ( name = '<STR_LIT>' ) <EOL> neu = Neuron ( name = "<STR_LIT>" ) <EOL> m . neurons ( neu ) <EOL> m . save ( ) <EOL> m = Muscle ( name = '<STR_LIT>' ) <EOL> self . assertIn ( Neuron ( '<STR_LIT>' ) , list ( m . neurons ( ) ) ) </s>
