@@ -261,7 +261,6 @@ steps:
261
261
#
262
262
# Example command line (windows pwsh):
263
263
# > python -m pip install -U -r news/requirements.txt
264
- # > python -m pytest tpn --color=yes --junit-xml=python-news-junit.xml
265
264
- script : |
266
265
python -m pip install --upgrade -r news/requirements.txt
267
266
python -m pytest news --color=yes --junit-xml=$COMMON_TESTRESULTSDIRECTORY/python-news-junit.xml
@@ -279,30 +278,6 @@ steps:
279
278
buildPlatform : ' $(Agent.Os)-Py$(pythonVersion)'
280
279
buildConfiguration : ' UnitTests'
281
280
282
- # Run the TPN tool tests.
283
- #
284
- # This task only runs if the string 'pythonUnitTests' exists in variable `TestsToRun`
285
- #
286
- # Example command line (windows pwsh):
287
- # > python -m pip install -U -r tpn/requirements.txt
288
- # > python -m pytest tpn --color=yes --junit-xml=python-tpn-junit.xml
289
- - script : |
290
- python -m pip install --upgrade -r tpn/requirements.txt
291
- python -m pytest tpn --color=yes --junit-xml=$COMMON_TESTRESULTSDIRECTORY/python-tpn-junit.xml
292
- displayName: 'Run Python tests for TPN tool'
293
- condition: and(succeeded(), contains(variables['TestsToRun'], 'pythonInternalTools'))
294
-
295
- # Upload the test results to Azure DevOps to facilitate test reporting in their UX.
296
- - task : PublishTestResults@2
297
- displayName : ' Publish Python tests for TPN tool results'
298
- condition : contains(variables['TestsToRun'], 'pythonInternalTools')
299
- inputs :
300
- testResultsFiles : ' python-tpn-junit.xml'
301
- searchFolder : ' $(Common.TestResultsDirectory)'
302
- testRunTitle : ' tpn-$(Agent.Os)-Py$(pythonVersion)'
303
- buildPlatform : ' $(Agent.Os)-Py$(pythonVersion)'
304
- buildConfiguration : ' UnitTests'
305
-
306
281
# Venv tests: Prepare the various virtual environments and record their details into the
307
282
# JSON file that venvTests require to run.
308
283
#
0 commit comments