示例#1
0
    def test_select_ABAT(self):
        job = object()
        self.god.stub_class(harness_ABAT, "harness_ABAT")

        harness_ABAT.harness_ABAT.expect_new(job)
        harness.select('ABAT', job)
        self.god.check_playback()
示例#2
0
    def test_select_standalone(self):
        job = object()
        self.god.stub_class(harness_standalone, "harness_standalone")

        harness_standalone.harness_standalone.expect_new(job)
        harness.select('standalone', job)
        self.god.check_playback()