]> git.parisson.com Git - timeside.git/commit
Doctest: Handle alias fixture for test data files
authorThomas Fillon <thomas@parisson.com>
Thu, 20 Mar 2014 17:42:43 +0000 (18:42 +0100)
committerThomas Fillon <thomas@parisson.com>
Thu, 20 Mar 2014 17:42:43 +0000 (18:42 +0100)
commit253f221a030dd58a2f1a99a6c3f2e042836ac30a
tree6af489a787e8979936bc2aaf210a1815f37b6829
parenta3b020dee8f98bba58b04024834339be31883102
Doctest: Handle alias fixture for test data files

Add a way to define alias for test data files to preserve readability of the doctest e.g. 'wavfile = 'test/data/file.wav') but the executed code will use 'wavfile=/home/user/real_path/test/data/file.wav'.
tests/test_run_all_doctests.py
timeside/decoder/utils.py