-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
Fully Compatible
-
ALL
-
DAG 2019-04-22
-
8
-
1
Tempfiles are not cleaned up in test_adb_monitor.py
The code which creates a named temp file, should also specify a temp_dir:
arg_test_file = tempfile.NamedTemporaryFile(delete=False).name
Should be:
arg_test_file = tempfile.NamedTemporaryFile(dir=self.temp_dir, delete=False).name