Skip to content

Commit

Permalink
[#8566] remove old test helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
brondsem authored and webjunkie01 committed Aug 2, 2024
1 parent 71a71cc commit 556a7da
Showing 1 changed file with 0 additions and 64 deletions.
64 changes: 0 additions & 64 deletions AlluraTest/alluratest/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,70 +37,6 @@ def with_setup__decorated(*a, **kw):
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)

Expand Down

0 comments on commit 556a7da

Please sign in to comment.