diff --git a/test-data/4.bed.zip b/test-data/4.bed.zip new file mode 100644 index 00000000000..754e03132ce Binary files /dev/null and b/test-data/4.bed.zip differ diff --git a/test/functional/test_get_data.py b/test/functional/test_get_data.py index 987a4d433ce..861fbe7d49e 100644 --- a/test/functional/test_get_data.py +++ b/test/functional/test_get_data.py @@ -90,35 +90,36 @@ class UploadData( TwillTestCase ): self.check_history_for_string( "File Format' to 'Scf' when uploading scf files" ) self.delete_history( id=self.security.encode_id( history.id ) ) def test_0025_upload_file( self ): - """Test uploading 1.scf.zip, manually setting the file format""" + """Test uploading 4.bed.zip, manually setting the file format""" self.check_history_for_string( 'Your history is empty' ) history = sa_session.query( galaxy.model.History ) \ .filter( and_( galaxy.model.History.table.c.deleted==False, galaxy.model.History.table.c.user_id==admin_user.id ) ) \ .order_by( desc( galaxy.model.History.table.c.create_time ) ) \ .first() - self.upload_file( '1.scf.zip', ftype='binseq.zip' ) + self.upload_file( '4.bed.zip', ftype='bed' ) hda = sa_session.query( galaxy.model.HistoryDatasetAssociation ) \ .order_by( desc( galaxy.model.HistoryDatasetAssociation.table.c.create_time ) ) \ .first() assert hda is not None, "Problem retrieving hda from database" - self.verify_dataset_correctness( '1.scf.zip', hid=str( hda.hid ) ) - self.check_history_for_string( "Archive of 1 binary sequence files" ) + self.verify_dataset_correctness( '4.bed', hid=str( hda.hid ) ) + self.check_history_for_string( "