add appversion & test case
This commit is contained in:
@@ -28,6 +28,7 @@ def test_db():
|
||||
yield test_session
|
||||
test_session.close()
|
||||
transaction.rollback()
|
||||
#transaction.commit()
|
||||
connection.close()
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
@@ -122,8 +123,8 @@ def test_domain(test_db,login_user_id):
|
||||
domain = models.Domain(
|
||||
tenantid = "1",
|
||||
name = "テスト環境",
|
||||
url = "https://alicorn.cybozu.com",
|
||||
kintoneuser = "maxz",
|
||||
url = "https://mfu07rkgnb7c.cybozu.com",
|
||||
kintoneuser = "MXZ",
|
||||
kintonepwd = security.chacha20Encrypt("maxz1205"),
|
||||
is_active = True,
|
||||
createuserid =login_user_id,
|
||||
@@ -135,6 +136,9 @@ def test_domain(test_db,login_user_id):
|
||||
test_db.refresh(domain)
|
||||
return domain
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def test_app_id():
|
||||
return "132"
|
||||
|
||||
|
||||
# @pytest.fixture
|
||||
|
||||
Reference in New Issue
Block a user