Commit 24fa9ba64ed1612d0140e8ea4597eb0397f1305f
1 parent
75c01d60
解决用例失败问题
Showing
2 changed files
with
2 additions
and
2 deletions
testcase/sy/entranceFeeBill_detail/test_entranceFeeBill_details.py
@@ -15,7 +15,7 @@ class test_entranceFeeBill_details(unittest.TestCase): | @@ -15,7 +15,7 @@ class test_entranceFeeBill_details(unittest.TestCase): | ||
15 | 15 | ||
16 | @classmethod | 16 | @classmethod |
17 | def setUpClass(cls): | 17 | def setUpClass(cls): |
18 | - cls.data=db.mysql_selectOne(en.sql) | 18 | + cls.data=db.mysql_selectOne(en.sql_select(sy1.user["sy_user01"]["firmId"])) |
19 | 19 | ||
20 | 20 | ||
21 | @unittest.case_mark(my.mark()) | 21 | @unittest.case_mark(my.mark()) |
testcase/sy/entranceFeeBill_proves/test_entranceFeeBill_provesPage.py
@@ -15,7 +15,7 @@ class test_entranceFeeBill_provesPage(unittest.TestCase): | @@ -15,7 +15,7 @@ class test_entranceFeeBill_provesPage(unittest.TestCase): | ||
15 | 15 | ||
16 | @classmethod | 16 | @classmethod |
17 | def setUpClass(cls): | 17 | def setUpClass(cls): |
18 | - cls.data=db.mysql_selectOne(en.sql) | 18 | + cls.data=db.mysql_selectOne(en.sql_select(sy1.user["sy_user01"]["firmId"])) |
19 | print(cls.data) | 19 | print(cls.data) |
20 | 20 | ||
21 | 21 |