fix #189: remove file path dependency

This commit is contained in:
debugtalk
2018-08-23 16:11:26 +08:00
parent e2ba773e78
commit cb44fafebf
7 changed files with 17 additions and 39 deletions

View File

@@ -21,7 +21,6 @@ class TestHttpRunner(ApiServerUnittest):
self.testcase = {
'name': 'testset description',
'config': {
'path': 'docs/data/demo-quickstart-2.yml',
'name': 'testset description',
'request': {
'base_url': '',
@@ -181,7 +180,7 @@ class TestHttpRunner(ApiServerUnittest):
{
"config": {
"name": "test teardown hooks",
'path': 'tests/httpbin/hooks.yml',
"path": "tests/httpbin/hooks.yml"
},
"teststeps": [
{
@@ -217,7 +216,7 @@ class TestHttpRunner(ApiServerUnittest):
{
"name": "test teardown hooks",
"config": {
'path': 'tests/httpbin/hooks.yml',
"path": "tests/httpbin/hooks.yml"
},
"teststeps": [
{
@@ -246,9 +245,7 @@ class TestHttpRunner(ApiServerUnittest):
testcases = [
{
"name": "test teardown hooks",
"config": {
'path': 'tests/httpbin/hooks.yml',
},
"config": {},
"teststeps": [
{
"name": "test teardown hooks",