def test_klass_only(self): args = mock.Mock(klass='class', delete=False) # Checking that no exceptions are raised rs_limits._check_arguments(args)
def test_delete_only(self): args = mock.Mock(klass=None, delete=True) # Checking that no exceptions are raised rs_limits._check_arguments(args)
def test_neither(self): args = mock.Mock(klass=None, delete=False) # Checking that no exceptions are raised rs_limits._check_arguments(args)