Skip to content

Commit 28ad1b5

Browse files
shubavsamaity
authored andcommitted
[sonic-mgmt]: Support for pytest-html to control logs better (sonic-net#4791)
The current stdout file which also includes the dut logs are very verbose and noisy. We have manually installed it in the sonic-mgmt docker in our organization and tuned the pytest settings to produce very helpful and concise logs. pytest-html plugins can be used to post-process the output in various ways based on our different and unique organizational needs. Hence proposing to add this pkt to the docker file
1 parent 29baefb commit 28ad1b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dockers/docker-sonic-mgmt/Dockerfile.j2

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ RUN pip install cffi==1.10.0 \
5555
pyro4 \
5656
pysnmp==4.2.5 \
5757
pytest-repeat \
58+
pytest-html \
5859
pytest-xdist==1.28.0 \
5960
pytest==4.6.5 \
6061
redis \

0 commit comments

Comments
 (0)