Branch: refs/heads/master
Home: https://github.com/openSUSE/osc2
Commit: ee8fd97a6c750067eaee430071cf6c004e0cd894
https://github.com/openSUSE/osc2/commit/ee8fd97a6c750067eaee430071cf6c004e0c...
Author: Marcus Huewe
Date: 2014-12-18 (Thu, 18 Dec 2014)
Changed paths:
M test/util/test_io.py
Log Message:
-----------
- test.util.test_io: added testcases for a mkdtemp function
The object, which is returned by mkdtemp, should behave like a str and
a TemporaryDirectory instance (for example, it is removed automatically
if the returned instance is garbage collected). Additionally, the
returned instance can be passed to os.stat.
Commit: a61255c2b448c05a07d09564b8f09a818d0f5e91
https://github.com/openSUSE/osc2/commit/a61255c2b448c05a07d09564b8f09a818d0f...
Author: Marcus Huewe
Date: 2014-12-18 (Thu, 18 Dec 2014)
Changed paths:
M osc2/util/io.py
Log Message:
-----------
- util.io: added mkdtemp function (and helpers)
mkdtemp returns a temporary directory.
The returned instance can be treated like a str and a
TemporaryDirectory instance. For example, it can be passed
to os.stat and the temporary directory is automatically
deleted, if the instance is garbage collected.
Compare: https://github.com/openSUSE/osc2/compare/23a3f8cac047...a61255c2b448