Skip to content

Commit 222efff

Browse files
committed
Minor fixes
1 parent 3bb30a6 commit 222efff

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

tests/utils/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
</PropertyGroup>
1515
<ItemGroup>
1616
<PackageReference Include="Azure.Messaging.EventHubs"
17-
Version="5.6.2.0" />
17+
Version="5.6.2" />
1818
<PackageReference Include="Azure.Messaging.EventGrid"
19-
Version="4.21.0.0" />
19+
Version="4.21.0" />
2020
<PackageReference Include="Microsoft.NET.Sdk.Functions"
2121
Version="4.0.1" />
2222
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.CosmosDB"

tests/utils/testutils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,7 @@ def setUpClass(cls):
232232
try:
233233
cls.webhost = start_webhost(script_dir=script_dir,
234234
stdout=cls.host_stdout)
235-
except Exception as ex:
236-
error_message = f'WebHost is not started correctly. {ex} '
237-
cls.host_stdout_logger.error(error_message)
235+
except Exception:
238236
raise
239237

240238
if not cls.webhost.is_healthy():
@@ -247,6 +245,7 @@ def setUpClass(cls):
247245
except Exception as ex:
248246
cls.host_stdout_logger.error(f"WebHost is not started correctly. {ex}")
249247
cls.tearDownClass()
248+
raise
250249

251250
@classmethod
252251
def tearDownClass(cls):

0 commit comments

Comments
 (0)