Changeset 146 for branches/mk/tests

Show
Ignore:
Timestamp:
08/19/06 15:54:56 (5 years ago)
Author:
mk
Message:

Each abnormal termination of cheesecake_index should end with line starting with "Error:".

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/mk/tests/unit/test_index_unpack.py

    r93 r146  
    4848            assert 0 # This statement should not be reached 
    4949        except CheesecakeError, e: 
    50             msg = "Could not unpack package %s ... exiting" % \ 
     50            msg = "Error: Could not unpack package %s ... exiting" % \ 
    5151                  os.path.join(default_temp_directory, package_file) 
    5252            msg += "\nDetailed info available in log file %s" % self.logfile 
  • branches/mk/tests/unit/test_index_url_download.py

    r93 r146  
    5959                assert 0 # This statement should not be reached 
    6060            except CheesecakeError, e: 
    61                 msg = "Got '404 Not Found' error while trying to download package ... exiting" 
     61                msg = "Error: Got '404 Not Found' error while trying to download package ... exiting" 
    6262                msg += "\nDetailed info available in log file %s" % logfile 
    6363                assert str(e) == msg