This is an automated email from the ASF dual-hosted git repository. brondsem pushed a commit to branch db/8566 in repository https://gitbox.apache.org/repos/asf/allura.git
commit ccb201e737b5e44e9795f75c4dfe88a81ecfb3e8 Author: Dave Brondsema <dbronds...@slashdotmedia.com> AuthorDate: Fri Jul 12 12:26:30 2024 -0400 [#8566] remove old test helpers --- AlluraTest/alluratest/tools.py | 64 ------------------------------------------ 1 file changed, 64 deletions(-) diff --git a/AlluraTest/alluratest/tools.py b/AlluraTest/alluratest/tools.py index efd93e9d4..c71c62e66 100644 --- a/AlluraTest/alluratest/tools.py +++ b/AlluraTest/alluratest/tools.py @@ -37,70 +37,6 @@ def with_setup(setup, teardown=None): return with_setup__wrapper -def raises(ExcType): - @decorator - def inner_raises(func, *a, **kw): - with testcase.assertRaises(ExcType): - return func(*a, **kw) - return inner_raises - - -def assert_equal(*a, **kw): - return testcase.assertEqual(*a, **kw) - - -def assert_equals(*a, **kw): - return testcase.assertEqual(*a, **kw) - - -def assert_not_equal(*a, **kw): - return testcase.assertNotEqual(*a, **kw) - - -def assert_raises(*a, **kw): - return testcase.assertRaises(*a, **kw) - - -def assert_is_none(*a, **kw): - return testcase.assertIsNone(*a, **kw) - - -def assert_is_not_none(*a, **kw): - return testcase.assertIsNotNone(*a, **kw) - - -def assert_is(*a, **kw): - return testcase.assertIs(*a, **kw) - - -def assert_true(*a, **kw): - return testcase.assertTrue(*a, **kw) - - -def assert_false(*a, **kw): - return testcase.assertFalse(*a, **kw) - - -def assert_in(*a, **kw): - return testcase.assertIn(*a, **kw) - - -def assert_not_in(*a, **kw): - return testcase.assertNotIn(*a, **kw) - - -def assert_less(*a, **kw): - return testcase.assertLess(*a, **kw) - - -def assert_greater(*a, **kw): - return testcase.assertGreater(*a, **kw) - - -def assert_greater_equal(*a, **kw): - return testcase.assertGreaterEqual(*a, **kw) - - def assert_regexp_matches(*a, **kw): return testcase.assertRegex(*a, **kw)