Commit e988375d by wj

Update test_bpm_3_org.py

parent 207fb21d
...@@ -10,10 +10,10 @@ ...@@ -10,10 +10,10 @@
import allure import allure
import pytest import pytest
from study_requests.day_05 import test_example
class TestBPMOrg: class TestBPMOrg:
host = 'http://36.139.193.99:8088'
@allure.epic("BPM系统-场景测试") @allure.epic("BPM系统-场景测试")
@allure.feature("组织管理") @allure.feature("组织管理")
@allure.story("添加组织") @allure.story("添加组织")
...@@ -21,7 +21,7 @@ class TestBPMOrg: ...@@ -21,7 +21,7 @@ class TestBPMOrg:
@allure.severity("高") @allure.severity("高")
@pytest.mark.dependency(depends=["test_case/test_dependency/test_bpm_1_login.py::TestBPMLogin::test_login", "test_case/test_dependency/test_bpm_2_dem.py::TestBPMDem::test_add_dem"], scope="package") @pytest.mark.dependency(depends=["test_case/test_dependency/test_bpm_1_login.py::TestBPMLogin::test_login", "test_case/test_dependency/test_bpm_2_dem.py::TestBPMDem::test_add_dem"], scope="package")
def test_add_org(self, fix_req, fix_dependency, fix_db): def test_add_org(self, fix_req, fix_dependency, fix_db):
add_org_url = test_example.host + "/api/org/v1/org/addOrg" add_org_url = self.host + "/api/org/v1/org/addOrg"
add_org_data = { add_org_data = {
"code": "testAddOrg", "code": "testAddOrg",
"demId": fix_dependency["demId"], "demId": fix_dependency["demId"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment