Upendra Kumar added the comment:

I have one doubt about writing unittests for pip_gui. For writing the unittest 
what should I use as a test instance? For example, if we take particular pip 
package like : Flask

Now, if I have to test the 'get_data_show()' function in temp_pip_v3.py (using 
the assertXYZ functions), then I will use the output of 'pip show flask' as an 
example test case. But, it may be the case that Flask is not installed in 
others' machine. In this case the test would fail. Therefore, what should I use 
as a example test case?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23551>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to