MCPcopy Index your code
hub / github.com/httprunner/httprunner / test_run_request

Method test_run_request

httprunner/step_request_test.py:9–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7
8class TestRunRequest(unittest.TestCase):
9 def test_run_request(self):
10 runner = TestCaseRequestWithFunctions().test_start()
11 summary = runner.get_summary()
12 self.assertTrue(summary.success)
13 self.assertEqual(summary.name, "request methods testcase with functions")
14 self.assertEqual(len(summary.step_results), 3)
15 self.assertEqual(summary.step_results[0].name, "get with params")
16 self.assertEqual(summary.step_results[1].name, "post raw text")
17 self.assertEqual(summary.step_results[2].name, "post form data")

Callers

nothing calls this directly

Calls 3

get_summaryMethod · 0.80
test_startMethod · 0.45

Tested by

no test coverage detected