

def test_results(self):
    test_suite = self.WompTest()
    assert (test_suite.test_result is None)
    with assert_raises(RuntimeError):
        test_suite.results()
    test_suite.run()
    test_results = test_suite.results()
    assert_equal([result.success for result in test_results], [False, True])

dataset/ETHPy150Open Yelp/Testify/test/test_result_test.py TestResultStateTest.test_results/original