Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamraj-git committed Dec 25, 2024
1 parent 2d59f3c commit 794f25e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/api_fastapi/core_api/routes/public/test_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class TestGetVariable(TestVariableEndpoint):
"key": TEST_VARIABLE_KEY,
"value": TEST_VARIABLE_VALUE,
"description": TEST_VARIABLE_DESCRIPTION,
"is_encrypted": True,
},
),
(
Expand All @@ -124,6 +125,7 @@ class TestGetVariable(TestVariableEndpoint):
"key": TEST_VARIABLE_KEY2,
"value": "***",
"description": TEST_VARIABLE_DESCRIPTION2,
"is_encrypted": True,
},
),
(
Expand All @@ -132,6 +134,7 @@ class TestGetVariable(TestVariableEndpoint):
"key": TEST_VARIABLE_KEY3,
"value": '{"password": "***"}',
"description": TEST_VARIABLE_DESCRIPTION3,
"is_encrypted": True,
},
),
(
Expand All @@ -140,6 +143,7 @@ class TestGetVariable(TestVariableEndpoint):
"key": TEST_VARIABLE_SEARCH_KEY,
"value": TEST_VARIABLE_SEARCH_VALUE,
"description": TEST_VARIABLE_SEARCH_DESCRIPTION,
"is_encrypted": True,
},
),
],
Expand Down Expand Up @@ -225,6 +229,7 @@ class TestPatchVariable(TestVariableEndpoint):
"key": TEST_VARIABLE_KEY,
"value": "The new value",
"description": "The new description",
"is_encrypted": True,
},
),
(
Expand All @@ -239,6 +244,7 @@ class TestPatchVariable(TestVariableEndpoint):
"key": TEST_VARIABLE_KEY,
"value": "The new value",
"description": TEST_VARIABLE_DESCRIPTION,
"is_encrypted": True,
},
),
(
Expand All @@ -253,6 +259,7 @@ class TestPatchVariable(TestVariableEndpoint):
"key": TEST_VARIABLE_KEY2,
"value": "***",
"description": TEST_VARIABLE_DESCRIPTION2,
"is_encrypted": True,
},
),
(
Expand All @@ -267,6 +274,7 @@ class TestPatchVariable(TestVariableEndpoint):
"key": TEST_VARIABLE_KEY3,
"value": '{"password": "***"}',
"description": "new description",
"is_encrypted": True,
},
),
],
Expand Down Expand Up @@ -311,6 +319,7 @@ class TestPostVariable(TestVariableEndpoint):
"key": "new variable key",
"value": "new variable value",
"description": "new variable description",
"is_encrypted": True,
},
),
(
Expand All @@ -323,6 +332,7 @@ class TestPostVariable(TestVariableEndpoint):
"key": "another_password",
"value": "***",
"description": "another password",
"is_encrypted": True,
},
),
(
Expand All @@ -335,6 +345,7 @@ class TestPostVariable(TestVariableEndpoint):
"key": "another value with sensitive information",
"value": '{"password": "***"}',
"description": "some description",
"is_encrypted": True,
},
),
],
Expand Down

0 comments on commit 794f25e

Please sign in to comment.