# -*- coding: utf-8 -*-
# $Id: testTestResult.py 1603 2011-10-10 12:33:02Z amelung $
#
# Copyright (c) 2007-2011 Otto-von-Guericke-Universität Magdeburg
#
# This file is part of ECSpooler.
import unittest
"""
"""
"""
"""
# -- Sanity Check ---------------------------------------------------------
"""getValue should give known result with known input"""
"""getMessage should give known result with known input"""
"""getValue should give same value as set in setValue"""
"""getMessage should give same value as set in setMessage"""
# -- Bad Input ------------------------------------------------------------
""" BackendResult should fail with no input"""
try:
except AssertionError, err:
else:
""" BackendResult should fail if 'submisson' is not given"""
try:
except AssertionError, err:
else:
"""BackendResult should fail if 'value' and 'message' are not contained in 'data'"""
try:
data = {}
except AssertionError, err:
else:
"""BackendResult should fail if 'message' is not contained in 'data'"""
try:
except AssertionError, err:
else:
"""BackendResult should fail if 'value' is not contained in 'data'"""
try:
except AssertionError, err:
else:
def test_suite():
"""
"""
return suite
# -- main ---------------------------------------------------------------------
if __name__ == "__main__":