Inherit from MutableMapping for ResultMap.
[htsworkflow.git] / htsworkflow / submission / test / test_condorfastq.py
index bb2b3c9995ff9a2fcf8510e9b6cf2860c71d029e..6aaf5846de8f3eb86e4f73145e487c73bc2ae914 100644 (file)
@@ -173,7 +173,7 @@ class TestCondorFastq(unittest.TestCase):
         os.mkdir(self.subdir)
 
         self.result_map = ResultMap()
-        self.result_map.add_result('11154', self.subname)
+        self.result_map['11154'] = self.subname
 
     def tearDown(self):
         shutil.rmtree(self.tempdir)