8 import CondCore.Utilities.CondDBFW.querying
as querying
9 import CondCore.Utilities.CondDBFW.data_sources
as data_sources
10 import CondCore.Utilities.CondDBFW.data_formats
as data_formats
11 import CondCore.Utilities.CondDBFW.shell
as shell
12 import CondCore.Utilities.CondDBFW.models
as models
14 prod_connection_string =
"frontier://FrontierProd/CMS_CONDITIONS" 23 test_list =
list(range(0, 10))
25 self.assertTrue(json_list_object !=
None)
26 self.assertEqual(json_list_object.data(), test_list)
27 for n
in range(0, len(test_list)):
28 self.assertEqual(json_list_object.get(n).
data(), test_list[n])
31 test_dict = {
"key1" :
"value1",
"key2" :
"value2",
"key3" :
"value3"}
33 self.assertTrue(json_dict_object !=
None)
34 self.assertEqual(json_dict_object.data(), test_dict)
36 self.assertEqual(json_dict_object.get(key).
data(), test_dict[key])
39 structure = {
"key1" : [{
"a" : 1,
"b" : 3}, {
"a" : 4,
"b" : 8}],
"key2" : [
"header1",
"header2",
"header3"]}
41 self.assertEqual(json_structure_object.get(
"key1").
data(), structure[
"key1"])
42 self.assertEqual(json_structure_object.get(
"key2").
data(), structure[
"key2"])
45 structure = {
"key1" : [{
"a" : 1,
"b" : 3}, {
"a" : 4,
"b" : 8}],
"key2" : [
"header1",
"header2",
"header3"]}
47 new_structure.add_key([],
"key1")
48 new_structure.get(
"key1").add_child({
"a" : 1,
"b" : 3})
49 new_structure.get(
"key1").add_child({
"a" : 4,
"b" : 8})
50 new_structure.add_key([],
"key2")
51 new_structure.get(
"key2").add_child(
"header1")
52 new_structure.get(
"key2").add_child(
"header2")
53 new_structure.get(
"key2").add_child(
"header3")
54 self.assertEqual(new_structure.data(), structure)
57 test_list =
list(range(0, 10))
58 test_dict = {
"key1" :
"value1",
"key2" :
"value2",
"key3" :
"value3"}
65 all_tags = self.connection.tag().
all(amount=10)
69 all_iovs = self.connection.iov().
all(amount=10)
73 tag_name =
"EBAlignment_measured_v01_express" 74 tag = self.connection.tag(name=tag_name)
75 self.assertTrue(tag !=
None)
76 parent_gts = tag.parent_global_tags()
80 self.connection.tear_down()
def test_type_all_tags(self)
def connect(connection_data, mode="r", map_blobs=False, secrets=None, pooling=True)
def test_type_all_iovs(self)
def test_check_types(self)
def test_type_parent_global_tags(self)
def test_json_navigation(self)
def test_make_json_dict(self)
def test_json_building(self)
def test_make_json_list(self)
char data[epos_bytes_allocation]
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run