ATLAS Offline Software
Loading...
Searching...
No Matches
python.EventSelectionConfigDispatch_unitTest.TestNonCuts Class Reference
Inheritance diagram for python.EventSelectionConfigDispatch_unitTest.TestNonCuts:
Collaboration diagram for python.EventSelectionConfigDispatch_unitTest.TestNonCuts:

Public Member Functions

 test_unknown_keyword_raises (self)
 test_comment_and_blank_skipped (self)

Detailed Description

Definition at line 62 of file EventSelectionConfigDispatch_unitTest.py.

Member Function Documentation

◆ test_comment_and_blank_skipped()

python.EventSelectionConfigDispatch_unitTest.TestNonCuts.test_comment_and_blank_skipped ( self)

Definition at line 66 of file EventSelectionConfigDispatch_unitTest.py.

66 def test_comment_and_blank_skipped(self):
67 algs = selectors(run("# a comment\n\n \nJET_N 30000 >= 2", containers=ALL))
68 self.assertEqual(len(algs), 1)
69
70
int run(int argc, char *argv[])

◆ test_unknown_keyword_raises()

python.EventSelectionConfigDispatch_unitTest.TestNonCuts.test_unknown_keyword_raises ( self)

Definition at line 63 of file EventSelectionConfigDispatch_unitTest.py.

63 def test_unknown_keyword_raises(self):
64 self.assertRaises(ValueError, run, "NOT_A_KEYWORD 1 2 3", containers=ALL)
65

The documentation for this class was generated from the following file: