<s> from nose . tools import eq_ , assert_raises <EOL> from tests . simple_page import SimplePageTest <EOL> from webium . driver import get_driver <EOL> from webium . errors import WebiumException <EOL> from webium . find import Find <EOL> class TestDynamic ( SimplePageTest ) : <EOL> def test_positive_flow ( self ) : <EOL> eq_ ( Find ( value = '<STR_LIT>' , context = get_driver ( ) ) . text , '<STR_LIT>' ) <EOL> def test_context_validation ( self ) : <EOL> assert_raises ( WebiumException , getattr , Find ( value = '<STR_LIT>' ) , '<STR_LIT:text>' ) </s>
