def check_default(self): " default behavior returns tempdir" # this'll fail if the temp directory isn't writable. d = build_tools.configure_temp_dir() assert(d == tempfile.gettempdir()) assert(is_writable(d))
def test_default(self): # default behavior returns tempdir # Note: this'll fail if the temp directory isn't writable. d = build_tools.configure_temp_dir() assert_(d == tempfile.gettempdir()) assert_(is_writable(d))