#NEWLINE# def test_security_add_delete( self ) : #NEWLINE# #INDENT# with security_list_copy ( ) : #NEWLINE# #INDENT# def get_datetime( ) : #NEWLINE# #INDENT# return pd . Timestamp ( '2015-01-27' , tz = 'UTC' ) #NEWLINE# #UNINDENT# rl = SecurityListSet ( get_datetime , self . env . asset_finder ) #NEWLINE# self . assertNotIn ( 'BZQ' , rl . leveraged_etf_list ) #NEWLINE# self . assertNotIn ( 'URTY' , rl . leveraged_etf_list )