Remove submodule cic ussd
This commit is contained in:
14
apps/cic-ussd/tests/helpers/tmp_files.py
Normal file
14
apps/cic-ussd/tests/helpers/tmp_files.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# standard imports
|
||||
import logging
|
||||
import tempfile
|
||||
from typing import Any, Tuple
|
||||
|
||||
logg = logging.getLogger()
|
||||
|
||||
|
||||
def create_tmp_file() -> Tuple[int, Any]:
|
||||
"""This helper function creates a unique temporary directory.
|
||||
:return: path to a temporary directory
|
||||
:rtype: str
|
||||
"""
|
||||
return tempfile.mkstemp()
|
||||
Reference in New Issue
Block a user