Esempio n. 1
0
    def test_recognize_success(self):
        from output_fixture.tests import stdout_string, stderr_string

        tr = collect_test(make_td("output_fixture.OutputTestKlass.test_mocksuccess"))
        self.assertEquals(tr.return_code, 0)
Esempio n. 2
0
    def test_stderr_collection(self):
        from output_fixture.tests import stdout_string, stderr_string

        tr = collect_test(make_td("output_fixture.OutputTestKlass.test_stderr"))
        self.assertTrue(stderr_string in tr.stderr)