"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "scripts/irods/test/test_irm.py" between
irods-4.2.5.tar.gz and irods-4.2.6.tar.gz

About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.

test_irm.py  (irods-4.2.5):test_irm.py  (irods-4.2.6)
skipping to change at line 38 skipping to change at line 38
self.admin.assert_icommand('irm -n0 {0}'.format(filename), 'STDOUT', '-n is deprecated.') self.admin.assert_icommand('irm -n0 {0}'.format(filename), 'STDOUT', '-n is deprecated.')
@unittest.skipIf(test.settings.RUN_IN_TOPOLOGY, "Skip for Topology Testing") @unittest.skipIf(test.settings.RUN_IN_TOPOLOGY, "Skip for Topology Testing")
def test_disallow_simultaneous_usage_of_options_r_and_n__issue_3661(self): def test_disallow_simultaneous_usage_of_options_r_and_n__issue_3661(self):
filename = 'test_file_issue_3661.txt' filename = 'test_file_issue_3661.txt'
filename_path = os.path.join(self.admin.local_session_dir, filename) filename_path = os.path.join(self.admin.local_session_dir, filename)
lib.make_file(filename_path, 1024) lib.make_file(filename_path, 1024)
self.admin.assert_icommand('iput {0}'.format(filename_path)) self.admin.assert_icommand('iput {0}'.format(filename_path))
self.admin.assert_icommand('irm -rn0 {0}'.format(filename), 'STDERR', 'U SER_INCOMPATIBLE_PARAMS') self.admin.assert_icommand('irm -rn0 {0}'.format(filename), 'STDERR', 'U SER_INCOMPATIBLE_PARAMS')
def test_irm_delete_collection_with_ampersand_in_name_causes_error__issue_33
98(self):
collection = 'testDeleteACollectionWithAmpInTheNameBug170 && hail hail r
ock & roll &'
self.admin.assert_icommand("imkdir '{0}'".format(collection))
self.admin.assert_icommand("ils -l '{0}'".format(self.admin.session_coll
ection), 'STDOUT', collection)
self.admin.assert_icommand("irm -r '{0}'".format(collection))
self.admin.assert_icommand("ils -l '{0}'".format(self.admin.session_coll
ection_trash), 'STDOUT', collection)
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)