<s> from django . test import TestCase <EOL> from devops . models import Node <EOL> from devops . models . node_ext . default import NodeExtension <EOL> class TestNodeExtension ( TestCase ) : <EOL> def test_ext ( self ) : <EOL> node = Node . objects . create ( <EOL> group = None , <EOL> name = '<STR_LIT>' , <EOL> role = '<STR_LIT:default>' , <EOL> ) <EOL> assert isinstance ( node . ext , NodeExtension ) <EOL> assert node . ext . node is node </s>
