[master 2/4] Manage backing store more independently in loop backed test cases.

vpodzime installerbot-noreply at redhat.com
Mon May 25 12:46:53 UTC 2015


In reply to line 118 of tests/loopbackedtestcase.py:

I'm sorry if I'm missing something here, but why don't we just use the ``tempfile.mkstemp()`` function to create unique temporary backing store files? I'd consider that much nicer and clearer than our random hack with ``random.randrange()``.

-- 
To view this comment on github, visit https://github.com/mulkieran/blivet/commit/4f1671e812b8d0b8113520d55b89807fbf8686c7#commitcomment-11349678


More information about the anaconda-patches mailing list