From: Diane Trout Date: Mon, 23 Jan 2012 22:56:57 +0000 (-0800) Subject: Don't use assertIn as older ubuntu python doesn't have it X-Git-Tag: v0.5.5~73 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=d154c1a6fac07524c3755d275d3b772fcf96c014 Don't use assertIn as older ubuntu python doesn't have it --- diff --git a/htsworkflow/submission/test/test_ucsc.py b/htsworkflow/submission/test/test_ucsc.py index f05de23..a003594 100644 --- a/htsworkflow/submission/test/test_ucsc.py +++ b/htsworkflow/submission/test/test_ucsc.py @@ -16,8 +16,8 @@ class TestUCSCInfo(unittest.TestCase): self.assertEquals(len(file_index), 2) for attributes in file_index.values(): - self.assertIn('subId', attributes) - self.assertIn('project', attributes) + self.failUnless('subId' in attributes) + self.failUnless('project' in attributes) self.assertEquals(attributes['project'], 'wgEncode') def suite():