File: exclude_test_missing_data.patch

package info (click to toggle)
python-pbcore 1.6.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 19,168 kB
  • sloc: python: 25,497; xml: 2,846; makefile: 251; sh: 24
file content (22 lines) | stat: -rw-r--r-- 997 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Author: Andreas Tille <tille@debian.org>
Last-Update: Wed, 31 Oct 2018 15:36:38 +0100
Description: Missing data for this test

--- a/tests/test_pbdataset_metadata.py
+++ b/tests/test_pbdataset_metadata.py
@@ -165,15 +165,3 @@ class TestDataSet(unittest.TestCase):
         aln = AlignmentSet(outXml)
         self.assertEqual(aln.uuid, oldUuid)
 
-    def test_merge(self):
-        sset_fn = ('/pbi/dept/secondary/siv/testdata/'
-                'SA3-Sequel/lambda/roche_SAT/'
-                'm54013_151205_032353.subreadset.xml')
-        sset = SubreadSet(sset_fn)
-        orig_metadata = copy.deepcopy(sset.metadata)
-        self.assertEqual(len(sset.metadata.collections), 1)
-        sset.metadata.collections.merge(orig_metadata.collections)
-        self.assertEqual(len(sset.metadata.collections), 2)
-        sset = SubreadSet(sset_fn)
-        sset.metadata.collections.merge(orig_metadata.collections, forceUnique=True)
-        self.assertEqual(len(sset.metadata.collections), 1)