Improve testing of %pythonprepend and %pythonappend

This commit is contained in:
William S Fulton 2013-07-02 20:00:17 +01:00
commit 1c44078751
2 changed files with 24 additions and 2 deletions

View file

@ -2,3 +2,10 @@ from python_append import *
t=Test()
t.func()
t.static_func()
if grabpath() != os.path.dirname(mypath):
raise RuntimeError
if grabstaticpath() != os.path.basename(mypath):
raise RuntimeError