tests: introduce a possibility to change the directory for tmp files
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 27 Nov 2012 09:14:03 +0000 (11:14 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 27 Nov 2012 09:14:03 +0000 (11:14 +0200)
commit8f89a2b23595478089c690bbb63a1932b7830f42
treea24297af8df66f682534185e1e02f0512bd13296
parent1282b649bbaa8510506cf40847edcfb620d02ccb
tests: introduce a possibility to change the directory for tmp files

The default temporary directory is choosen by 'NamedTemporaryFile' and it is
usually '/tmp'. However, for debugging purposes it is nice to sometimes change
that to a different directory. In the future, this may be a test parameter.

Change-Id: I12428f99a14eb7467948e08048bd0108c8bf5bc1
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
tests/helpers.py
tests/test_api_base.py