Beispiel #1
0
 def test_quoting_fields(self):
     # ensure fields with special characters are properly quoted throughout
     rpc_interface.add_test_label('hyphen-label')
     rpc_interface.get_group_counts(
         ['test_attribute_hyphen-attr', 'test_label_hyphen-label',
          'machine_label_hyphen-label',
          'iteration_result_hyphen-result'],
         test_attribute_fields=['hyphen-attr'],
         test_label_fields=['hyphen-label'],
         machine_label_fields=['hyphen-label'],
         iteration_result_fields=['hyphen-result'])
 def test_quoting_fields(self):
     # ensure fields with special characters are properly quoted throughout
     rpc_interface.add_test_label('hyphen-label')
     rpc_interface.get_group_counts(
             ['test_attribute_hyphen-attr', 'test_label_hyphen-label',
              'machine_label_hyphen-label',
              'iteration_result_hyphen-result'],
             test_attribute_fields=['hyphen-attr'],
             test_label_fields=['hyphen-label'],
             machine_label_fields=['hyphen-label'],
             iteration_result_fields=['hyphen-result'])