# -*- coding: utf-8 -*-
# $Id: testTestJob.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 ---------------------------------------------------------
"""getBackend should give known result with known input"""
"""getSubmission should give known result with known input"""
"""getBackend should give same value as set in setBackend"""
"""getSubmission should give same value as set in setSubmission"""
# -- Bad Input ------------------------------------------------------------
""" BackendJob should fail with no input"""
try:
except AssertionError, err:
else:
""" BackendJob should fail if 'submisson' is not given"""
try:
except AssertionError, err:
else:
"""BackendJob should fail if 'backend' and 'submission' are not contained in 'data'"""
try:
data = {}
except AssertionError, err:
else:
"""BackendJob should fail if 'submission' is not contained in 'data'"""
try:
except AssertionError, err:
else:
"""BackendJob should fail if 'backend' is not contained in 'data'"""
try:
except AssertionError, err:
else:
def test_suite():
"""
"""
return suite
# -- main ---------------------------------------------------------------------
if __name__ == "__main__":