Example #1
0
 def handle_bar(context, bar_dict):
     ins_1 = instruments(context.s1)
     ins_2 = instruments(context.s2)
     industry_list_1 = industry(ins_1.industry_name)
     industry_list_2 = industry(ins_2.industry_name)
     assert context.s1 in industry_list_1
     assert context.s2 in industry_list_2
Example #2
0
 def handle_bar(context, bar_dict):
     ins_1 = instruments(context.s1)
     ins_2 = instruments(context.s2)
     industry_list_1 = industry(ins_1.industry_name)
     industry_list_2 = industry(ins_2.industry_name)
     assert context.s1 in industry_list_1
     assert context.s2 in industry_list_2