Bases: dataprocessor.tests.utils.TestNodeListAndDir
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_add_conf() |
Test for add_node.
Bases: dataprocessor.tests.utils.TestNodeListAndDir
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_add_node() |
Bases: dataprocessor.tests.utils.TestNodeListAndDir
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_add_run_normal() | |
test_add_run_with_kwds() |
Bases: unittest.case.TestCase
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | Hook method for deconstructing the test fixture after testing it. |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_load_conf() |
Bases: unittest.case.TestCase
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | Hook method for deconstructing the test fixture after testing it. |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_load() | |
test_load_filetype() | |
test_load_missing_name() |
Bases: unittest.case.TestCase
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | Hook method for deconstructing the test fixture after testing it. |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_load() | |
test_load_filetype_yaml() |
Bases: unittest.case.TestCase
Unittest for dataprocessor.dataframe.
Attributes
node_list | (list) list of project root dir path |
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | Hook method for deconstructing the test fixture after testing it. |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_get_project() | |
test_get_projects() |
Bases: dataprocessor.tests.utils.TestNodeListAndDir
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_node_type_project() | |
test_node_type_run() | |
test_project() | |
test_projects() |
Bases: unittest.case.TestCase
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | Hook method for deconstructing the test fixture after testing it. |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test1() | |
test2() | |
test3() | |
test4() |
Bases: unittest.case.TestCase
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_datahandler1() | |
test_datahandler2() | |
test_datahandler_exception() | |
test_sync_datahandler() |
Bases: dataprocessor.tests.utils.TestNodeListAndDir
.
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_fail1() | fail to move dir because the destination path is already existing file. |
test_fail2() | fail to node dir because the authority of the destination is invalid. |
test_move_and_rename() | move dir and rename it. |
test_move_dir2dir() | move dir to dir |
test_move_tree() | move dir tree. |
test_rename_tree() | rename dir tree. |
fail to move dir because the destination path is already existing file.
like as: mv tmpdir/p1/run02 tmpdir/file1
Test for nodes.
Bases: dataprocessor.tests.utils.TestNodeListAndDir
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_change_path_having_children() | |
test_change_path_having_parents() |
Bases: unittest.case.TestCase
Unittest for dataprocessor.nodes.
Attributes
node_list | (list) list of project root dir path |
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | Hook method for deconstructing the test fixture after testing it. |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_add_replace_skip_validate_link() | |
test_add_skip_validate_link() | |
test_add_update_skip_validate_link() | |
test_add_update_validate_link() | |
test_add_validate_link1() | |
test_add_validate_link2() | |
test_merge_duplicate() | |
test_remove_skip_validate_link() | |
test_remove_validate_link1() | |
test_remove_validate_link2() | |
test_remove_validate_link3() | |
test_validate_link_complete() | |
test_validate_link_remove() |
Bases: dataprocessor.tests.utils.TestNodeListAndDir
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_nofilter() | Do not filter node_list. |
test_noreturn() | |
test_raise() |
Bases: unittest.case.TestCase
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | Hook method for deconstructing the test fixture after testing it. |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_convert_old_pipes_dics() | |
test_convert_old_pipes_dics_fail() | |
test_validate() | |
test_validate_fail1() | |
test_validate_fail2() |
Test for scan.
Bases: dataprocessor.tests.utils.TestNodeListAndDir
Unittest for dataprocessor.pipes.scan.
Attributes
tempdir_paths | (list) list of project root dir path |
node_list | (list) |
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | Prepare test environment. |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_directory_for_first_scan1() | Test for initial scan. |
test_directory_for_first_scan2() | Test for initial scan. |
test_directory_for_first_scan3() | Test for initial scan. |
test_directory_for_first_scan4() | Test for initial scan with symbolic link. |
test_directory_for_rescan() | Test for rescan. |
test_rescan_failed() |
Bases: dataprocessor.tests.utils.TestNodeListAndDir
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_no_path() | |
test_no_tag() | |
test_untag() |
Bases: unittest.case.TestCase
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
create_file(path, contents) | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |
test_check_directory() | |
test_check_file() | |
test_copy_file1() | |
test_copy_file2() | |
test_copy_file3() | |
test_copy_file4() | |
test_copy_file5() | |
test_get_directory1() | |
test_get_directory2() | |
test_get_directory3() | |
test_read_configure1() | |
test_read_configure2() | |
test_read_configure3() |
Utility of test.
Bases: unittest.case.TestCase
Unittest for using node_list and directory.
create node_list including following nodes.
path | node_type | name |
---|---|---|
tmpdir/p1 | project | p1 |
tmpdir/p1/run00 | run | run00 |
tmpdir/p1/run01 | run | run01 |
tmpdir/p1/run02 | run | run02 |
tmpdir/p2 | project | p2 |
tmpdir/p2/run00 | run | run00 |
tmpdir/p2/run01 | run | run01 |
Attributes
tempdir_path | (str) temporally directory path |
project_paths | (list) list of project path |
node_list | (list) |
Methods
__call__(*args, **kwds) | |
addCleanup(function, *args, **kwargs) | Add a function, with arguments, to be called when the test is completed. |
addTypeEqualityFunc(typeobj, function) | Add a type specific assertEqual style function to compare a type. |
assertAlmostEqual(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertAlmostEquals(first, second[, places, ...]) | Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is more than the given delta. |
assertDictContainsSubset(expected, actual[, msg]) | Checks whether actual is a superset of expected. |
assertDictEqual(d1, d2[, msg]) | |
assertEqual(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertEquals(first, second[, msg]) | Fail if the two objects are unequal as determined by the ‘==’ operator. |
assertFalse(expr[, msg]) | Check that the expression is false. |
assertGreater(a, b[, msg]) | Just like self.assertTrue(a > b), but with a nicer default message. |
assertGreaterEqual(a, b[, msg]) | Just like self.assertTrue(a >= b), but with a nicer default message. |
assertIn(member, container[, msg]) | Just like self.assertTrue(a in b), but with a nicer default message. |
assertIs(expr1, expr2[, msg]) | Just like self.assertTrue(a is b), but with a nicer default message. |
assertIsInstance(obj, cls[, msg]) | Same as self.assertTrue(isinstance(obj, cls)), with a nicer default message. |
assertIsNone(obj[, msg]) | Same as self.assertTrue(obj is None), with a nicer default message. |
assertIsNot(expr1, expr2[, msg]) | Just like self.assertTrue(a is not b), but with a nicer default message. |
assertIsNotNone(obj[, msg]) | Included for symmetry with assertIsNone. |
assertItemsEqual(expected_seq, actual_seq[, msg]) | An unordered sequence specific comparison. |
assertLess(a, b[, msg]) | Just like self.assertTrue(a < b), but with a nicer default message. |
assertLessEqual(a, b[, msg]) | Just like self.assertTrue(a <= b), but with a nicer default message. |
assertListEqual(list1, list2[, msg]) | A list-specific equality assertion. |
assertMultiLineEqual(first, second[, msg]) | Assert that two multi-line strings are equal. |
assertNotAlmostEqual(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotAlmostEquals(first, second[, ...]) | Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the between the two objects is less than the given delta. |
assertNotEqual(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotEquals(first, second[, msg]) | Fail if the two objects are equal as determined by the ‘!=’ operator. |
assertNotIn(member, container[, msg]) | Just like self.assertTrue(a not in b), but with a nicer default message. |
assertNotIsInstance(obj, cls[, msg]) | Included for symmetry with assertIsInstance. |
assertNotRegexpMatches(text, unexpected_regexp) | Fail the test if the text matches the regular expression. |
assertRaises(excClass[, callableObj]) | Fail unless an exception of class excClass is raised by callableObj when invoked with arguments args and keyword arguments kwargs. |
assertRaisesRegexp(expected_exception, ...) | Asserts that the message in a raised exception matches a regexp. |
assertRegexpMatches(text, expected_regexp[, msg]) | Fail the test unless the text matches the regular expression. |
assertSequenceEqual(seq1, seq2[, msg, seq_type]) | An equality assertion for ordered sequences (like lists and tuples). |
assertSetEqual(set1, set2[, msg]) | A set-specific equality assertion. |
assertTrue(expr[, msg]) | Check that the expression is true. |
assertTupleEqual(tuple1, tuple2[, msg]) | A tuple-specific equality assertion. |
assert_(expr[, msg]) | Check that the expression is true. |
countTestCases() | |
debug() | Run the test without collecting errors in a TestResult |
defaultTestResult() | |
doCleanups() | Execute all cleanup functions. |
fail([msg]) | Fail immediately, with the given message. |
failIf(*args, **kwargs) | |
failIfAlmostEqual(*args, **kwargs) | |
failIfEqual(*args, **kwargs) | |
failUnless(*args, **kwargs) | |
failUnlessAlmostEqual(*args, **kwargs) | |
failUnlessEqual(*args, **kwargs) | |
failUnlessRaises(*args, **kwargs) | |
failureException | alias of AssertionError |
id() | |
run([result]) | |
setUp() | |
setUpClass() | Hook method for setting up class fixture before running tests in the class. |
shortDescription() | Returns a one-line description of the test, or None if no description has been provided. |
skipTest(reason) | Skip this test. |
tearDown() | |
tearDownClass() | Hook method for deconstructing the class fixture after running all tests in the class. |