Tempfile cleanup from test_adb_monitor.py

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.1.10
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • DAG 2019-04-22
    • 8
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
      

              Assignee:
              Jonathan Abrahams (Inactive)
              Reporter:
              Jonathan Abrahams (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: