Relative Content

Tag Archive for pythonpython-unittest

Issues Reading a File when Using unittest in Python

I am unit testing a credit card validating program that accepts a .txt file containing fake credit cards numbers, and returns a dictionary of the card, whether it’s a valid credit card number, and the card type (visa, mastercard, etc.).