Skip to content

Commit 1ee45cc

Browse files
committed
Update tests to use generic data
Signed-off-by: lelia <lelia@socket.dev>
1 parent 7ae9779 commit 1ee45cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/unit/test_working_endpoints_unit.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ def test_fullscans_post_with_workspace_unit(self):
209209
self._mock_response(expected_data, 201)
210210

211211
params = FullScanParams(
212-
repo="assembly",
212+
repo="test-repo",
213213
org_slug="test-org",
214214
branch="main",
215-
workspace="grofers",
215+
workspace="test-workspace",
216216
)
217217

218218
with tempfile.NamedTemporaryFile(mode='w', suffix='.json', delete=False) as f:
@@ -229,8 +229,8 @@ def test_fullscans_post_with_workspace_unit(self):
229229
self.assertEqual(call_args[0][0], "POST")
230230
# Confirm workspace landed in the request URL query string
231231
request_url = call_args[0][1]
232-
self.assertIn("workspace=grofers", request_url)
233-
self.assertIn("repo=assembly", request_url)
232+
self.assertIn("workspace=test-workspace", request_url)
233+
self.assertIn("repo=test-repo", request_url)
234234

235235
finally:
236236
os.unlink(f.name)

0 commit comments

Comments
 (0)