testdata_reader.py 168 Bytes Edit Raw Blame History 1 2 3 4 5 6 import os def read(relative_path): test_data = os.path.dirname(os.path.abspath(__file__)) + '/test-data/' return open(test_data + relative_path, 'rb').read()