Changeset c5074d2 in flex_extract.git for source/pythontest/TestInstall.py
- Timestamp:
- Oct 9, 2018, 8:42:16 PM (6 years ago)
- Branches:
- master, ctbto, dev
- Children:
- aa275fc
- Parents:
- 0a06607
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/pythontest/TestInstall.py
r0aaeb04 rc5074d2 25 25 #! - un_tarball 26 26 #! - mk_env_vars 27 # - mk_compilejob28 # - mk_job_template27 #! - mk_compilejob 28 #! - mk_job_template 29 29 # - delete_convert_build 30 30 # - make_convert_build … … 155 155 # delete test file 156 156 silent_remove(finalfile) 157 158 def test_mk_job_template(self): 159 import filecmp 160 161 # comparison file 162 testfile = os.path.join(_config.PATH_TEST_DIR, 163 'TestData', 164 'job.temp.test') 165 166 # create 167 install.mk_job_template('testuser', 168 'testgroup', 169 'gateway.test.ac.at', 170 'dest@generic', 171 'fp_root_test_path') 172 173 finalfile = os.path.join(_config.PATH_TEMPLATES, 174 _config.TEMPFILE_JOB) 175 assert filecmp.cmp(testfile, finalfile, shallow=False) 176 177 # delete test file 178 silent_remove(finalfile)
Note: See TracChangeset
for help on using the changeset viewer.