<s> import unittest <EOL> from robot import model <EOL> from robot . running . model import TestSuite , TestCase , Keyword <EOL> from robot . utils . asserts import assert_equal , assert_not_equal <EOL> class TestModelTypes ( unittest . TestCase ) : <EOL> def test_suite_keyword ( self ) : <EOL> kw = TestSuite ( ) . keywords . create ( ) <EOL> assert_equal ( type ( kw ) , Keyword ) <EOL> assert_not_equal ( type ( kw ) , model . Keyword ) <EOL> def test_suite_test_case ( self ) : <EOL> test = TestSuite ( ) . tests . create ( ) <EOL> assert_equal ( type ( test ) , TestCase ) <EOL> assert_not_equal ( type ( test ) , model . TestCase ) <EOL> def test_test_case_keyword ( self ) : <EOL> kw = TestCase ( ) . keywords . create ( ) <EOL> assert_equal ( type ( kw ) , Keyword ) <EOL> assert_not_equal ( type ( kw ) , model . Keyword ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> unittest . main ( ) </s>
