4 ms·
But then what about tests? https://github.com/4dsolutions/python_camp/pull/4/files https://github.com/4dsolutions/python_camp/pull/4/files : class TestCalcu
by westurner 3y ago
But then what about tests?
https://github.com/4dsolutions/python_camp/pull/4/files https://github.com/4dsolutions/python_camp/pull/4/files :
class TestCalculatorREPL(unittest.TestCase):
from unittest.mock import patch
@patch("sys.stdin", StringIO("1"))
@patch("sys.stdout", new_callable=StringIO)
def test__():
pass
- tekknolagi 3y agoOoh, this is interesting. Thanks for the tip. The rest of the project is well-tested but I've been cowboy developing the REPL.