File: exclude_test_missing_data.patch

package info (click to toggle)
python-pbcore 1.7.1%2Bgit20200430.a127b1e%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,404 kB
  • sloc: python: 23,243; xml: 2,504; makefile: 232; sh: 66
file content (26 lines) | stat: -rw-r--r-- 1,092 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
23
24
25
26
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
@@ -153,19 +153,6 @@ 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)
-
     @skip_if_no_pbtestdata
     def test_merge_biosamples(self):
         import pbtestdata