IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 15, 2010, 2:51:13 PM (16 years ago)
Author:
Serge CHASTEL
Message:

Test report now in xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/sc_branches/psps_testing/testers/batch_file.py

    r29235 r29438  
    2121    The purpose of this class is to test the common features of batch
    2222    files. Namely, they are:
    23     - the form of the file name
    24     - the contents of the file (a gzipped tar archive file) and the form
    25       of the files contained in the archive
     23      - the form of the file name
     24      - the contents of the file (a gzipped tar archive file) and the form
     25        of the files contained in the archive
    2626
    2727    >>> print BatchFileTester("data/psut/ok/B00000010.tar.gz").test().success
    28     False
    29     >>> # Will be True one day...
     28    True
    3029    """
    3130    def __init__(self, filename):
     
    5958        """
    6059        PsPsLogger.debug('Starting BatchFileTester object test')
    61         TestReport.title('Batch file tests')
     60        TestReport.addSection('Batch file tests')
    6261        # Set up global test product
    6362        product = TestProduct()
     
    166165        Derived Requirement 3.3.1: The maximum size of a batch file
    167166        shall not exceed 100 gigabytes (TBR).
    168 
    169         -> Test 1: The file is a valid tar gzipped file
    170         -> Test 2: The file uncompresses in the <basename> directory
    171                 where <basename> is the file base name
    172         -> Test 3: The tar gzipped file contains exactly one XML file
    173               (named BatchManifest.xml) and exactly one FITS file.
     167       
     168        Test 1: The file is a valid tar gzipped file
     169
     170        Test 2: The file uncompresses in the <basename> directory
     171        where <basename> is the file base name
     172
     173        Test 3: The tar gzipped file contains exactly one XML file
     174        (named BatchManifest.xml) and exactly one FITS file.
    174175
    175176        >>> batchFileTester = BatchFileTester('data/psut/ok/B00000010.tar.gz')
Note: See TracChangeset for help on using the changeset viewer.