diff options
-rw-r--r-- | tests/test_mdl_style.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_mdl_style.py b/tests/test_mdl_style.py index c646d60..2aacf86 100644 --- a/tests/test_mdl_style.py +++ b/tests/test_mdl_style.py @@ -20,7 +20,7 @@ from mistune import Renderer, Markdown from nose.tools import * -from pkg_resources import resource_string +from pkg_resources import resource_string, resource_filename from mdl_style import * @@ -29,6 +29,9 @@ def _get_data(f): rs = resource_string(__name__, '/'.join(['data', f])) return rs.decode() +def _get_data_path(f): + return resource_filename(__name__, '/'.join(['data', f])) + class TestLSRendererIL(object): """Test class for mdl_style.LSRenderer inline link style. |