On 06 Apr 2016, at 17:20, Max msuraev@sysmocom.de wrote:
was your approach more simple?
Yes - instead of trying to re-create directory structure (which would make test runner unnecessary complex) I simply copy necessary additional configs explicitly. Using extension other than .cfg makes sure that they won't be copied (this one is recursive already btw) by config tester.
yes, but the code seems to be more involved than:
shutil.copytree
Can't we simplify the code by using this routine instead of having an extra list of files to copy?