Coverage for lbCVMFSTools/TaskHandlers/NightliesInstallTask/tests/TestPathManager.py : 92%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
############################################################################### # (c) Copyright 2016 CERN # # # # This software is distributed under the terms of the GNU General Public # # Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". # # # # In applying this licence, CERN does not waive the privileges and immunities # # granted to it by virtue of its status as an Intergovernmental Organization # # or submit itself to any jurisdiction. # ############################################################################### Test of the version path manager functionality in the model classes.
@author: Stefan-Gabriel CHITIC '''
shutil.rmtree("/tmp/toto") shutil.rmtree("/tmp/foo/") installArea="/tmp/toto/cvmfstest.cern.ch/nightlies", workspace="/tmp/foo/")
'/tmp/toto/cvmfstest.cern.ch/nightlies')
'/tmp/foo/var')
'/tmp/foo/conf')
'/tmp/toto/cvmfstest.cern.ch/nightlies/slot1/1234')
'/tmp/toto/cvmfstest.cern.ch/nightlies/slot1/Today')
'/tmp/toto/cvmfstest.cern.ch/nightlies/slot1/1234/' '.installed')
'/tmp/foo/var/slot1.1234.installed')
strdate='2017-05-31'), '/tmp/toto/cvmfstest.cern.ch/nightlies/slot1/' 'Wed')
unittest.main() |