Refer to the exhibit. Pipenv is used to manage dependencies. The test runs successfully on a local environment. What is the reason for the error when running the test on a CI/CD pipeline?
A.
All the unit tests in testsum.py failed.
B.
Pytest did not detect any functions that start with 'test_'.
C.
The pipfile in the local environment was not pushed to the remote repository.
C is the correct answer. The error shows that unittest2 isn't installed which is a backport to Python 2.7. Pipenv can install it if the pipfile is shipped with it.
https://realpython.com/pipenv-guide/
This section is not available anymore. Please use the main Exam Page.350-901 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
duracell
Highly Voted 3 years, 4 months agoAmycert
Most Recent 7 months, 3 weeks agomkOwl
2 years, 2 months agoTeringzooi
2 years, 7 months agoQuiShong
2 years, 10 months ago__al__
3 years, 1 month ago