<s> """<STR_LIT>""" <EOL> from tests import case <EOL> class HasEnvironmentsModelTest ( case . TestCase ) : <EOL> """<STR_LIT>""" <EOL> @ property <EOL> def model_class ( self ) : <EOL> """<STR_LIT>""" <EOL> from moztrap . model . environments . models import HasEnvironmentsModel <EOL> return HasEnvironmentsModel <EOL> def test_parent ( self ) : <EOL> """<STR_LIT>""" <EOL> t = self . model_class ( ) <EOL> self . assertIsNone ( t . parent ) <EOL> def test_cascade_envs_to ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( self . model_class . cascade_envs_to ( [ ] , True ) , { } ) </s>
