change: rename schema model name and class name

This commit is contained in:
debugtalk
2020-05-15 00:04:18 +08:00
parent f13a3e4134
commit 598d660b6e
10 changed files with 59 additions and 58 deletions
@@ -1,12 +1,12 @@
# NOTICE: Generated By HttpRunner. DO'NOT EDIT!
import unittest
from httprunner.runner import TestCaseRunner
from httprunner.schema import TestsConfig, TestStep
from httprunner.runner import HttpRunner
from httprunner.schema import TConfig, TStep
class TestCaseValidateWithFunctions(unittest.TestCase):
config = TestsConfig(
config = TConfig(
**{
"name": "request methods testcase: validate with functions",
"variables": {"foo1": "session_bar1"},
@@ -17,7 +17,7 @@ class TestCaseValidateWithFunctions(unittest.TestCase):
)
teststeps = [
TestStep(
TStep(
**{
"name": "get with params",
"variables": {
@@ -42,4 +42,4 @@ class TestCaseValidateWithFunctions(unittest.TestCase):
]
def test_start(self):
TestCaseRunner(self.config, self.teststeps).run()
HttpRunner(self.config, self.teststeps).run()