<s> from test . util import GraphTestCase <EOL> class ParallelTestCase ( GraphTestCase ) : <EOL> def test_can_run_cypher_while_in_transaction ( self ) : <EOL> tx = self . graph . begin ( ) <EOL> outer_result = tx . run ( "<STR_LIT>" ) <EOL> inner_result = self . graph . run ( "<STR_LIT>" ) <EOL> outer_result_list = list ( outer_result ) <EOL> tx . rollback ( ) <EOL> record = inner_result . next ( ) <EOL> created = record [ <NUM_LIT:0> ] <EOL> assert outer_result_list == [ ( <NUM_LIT:1> , ) , ( <NUM_LIT:2> , ) , ( <NUM_LIT:3> , ) , ( <NUM_LIT:4> , ) , ( <NUM_LIT:5> , ) , ( <NUM_LIT:6> , ) , ( <NUM_LIT:7> , ) , ( <NUM_LIT:8> , ) , ( <NUM_LIT:9> , ) , ( <NUM_LIT:10> , ) ] <EOL> assert self . graph . exists ( created ) </s>
