~canonical-platform-qa/ubuntu-system-tests/old-revision-trunk

« back to all changes in this revision

Viewing changes to ubuntu_system_tests/common/utils.py

  • Committer: Omer Akram
  • Date: 2016-12-05 16:36:34 UTC
  • mfrom: (487.4.1 old-trunk)
  • Revision ID: om26er@ubuntu.com-20161205163634-ixv4q21jfwx8ggi5
Substantially fix trunk history

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
import shutil
25
25
import string
26
26
 
 
27
from ubuntu_system_tests.external_tests.utils import get_external_test_ids
 
28
 
27
29
 
28
30
def clean_dir(dir_path):
29
31
    """Delete all the content of the directory"""
67
69
 
68
70
    # If we do this at the module level then we need to have unity8 and UITK on
69
71
    # the host and would rather avoid this
70
 
    from ubuntu_system_tests import external_tests
71
 
    test_ids = external_tests.get_external_test_ids(testsuite_list_filepath)
 
72
    test_ids = get_external_test_ids(testsuite_list_filepath)
72
73
 
73
74
    if tests_module is None:
74
75
        # We delay the import so this is only executed in the test bed, not on