Created
August 3, 2013 23:23
-
-
Save tychoish/6148366 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from unittest import TestCase | |
from core import ApplicationStage, ApplicationStageAlternate | |
class StagesBuildStepMultiAddTests(object): | |
def test_valid_test_harness(self): | |
self.assertEqual( self.jobs[0][1], 42 ) | |
class TestStagesBuildStageMultiAdd(StagesBuildStepMultiAddTests, TestCase): | |
@classmethod | |
def setUp(self): | |
self.jobs = [ (func, (1, 2)), (func, ('str', 'str')) ] | |
self.s = ApplicationStage() | |
class TestStagesBuildStageSingleAdd(StagesBuildStepMultiAddTests, TestCase): | |
@classmethod | |
def setUp(self): | |
self.jobs = [ (func, (1, 2)), (func, ('str', 'str')) ] | |
self.s = ApplicationStageAlternate(True, False, None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment