def load_test_fixture(fixture_path):
path = os.path.dirname(os.path.abspath(__file__))
fixture_file = open(path + '/' + fixture_path)
input = fixture_file.read()
fixture_file.close()
sys.stdin = StringIO(input)
sys.stdout = StringIO()
评论列表
文章目录