Skip to content

Commit 25e9d6a

Browse files
committed
Fixed the test
1 parent 60f81c2 commit 25e9d6a

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

tests/application/test_copilot_chat_no_octopus.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ def test_general_solution5(self):
254254
)
255255

256256
@retry((AssertionError, RateLimitError), tries=3, delay=2)
257-
@skip("This test is skipped for now as we move to the new deployment process.")
258257
def test_sample_hcl(self):
259258
prompt = 'Generate a Terraform module with an environment called "Development", a project group called "Test", and a project called "Hello World" with a single Powershell script step that echoes the text "Hello World".'
260259
response = copilot_handler_internal(build_no_octopus_request(prompt))
@@ -276,7 +275,17 @@ def test_sample_hcl(self):
276275
"Response was " + response_text,
277276
)
278277
self.assertIn(
279-
'resource "octopusdeploy_deployment_process"',
278+
'resource "octopusdeploy_process"',
279+
response_text.casefold(),
280+
"Response was " + response_text,
281+
)
282+
self.assertIn(
283+
'resource "octopusdeploy_process_steps_order"',
284+
response_text.casefold(),
285+
"Response was " + response_text,
286+
)
287+
self.assertIn(
288+
'resource "octopusdeploy_process_step"',
280289
response_text.casefold(),
281290
"Response was " + response_text,
282291
)

0 commit comments

Comments
 (0)