Skip to content

Instantly share code, notes, and snippets.

View 54ny7's full-sized avatar

Sandor 54ny7

  • Hungary
View GitHub Profile
@54ny7
54ny7 / tud_test_base.py
Last active September 27, 2021 22:17 — forked from mauricioaniche/tud_test_base.py
Add default to mock_input() if no input, hide functions
import builtins
input_values = []
print_values = []
def get_display_output():
'''Get the printed output in list from the test target'''
global print_values
return print_values