Ejemplo n.º 1
0
    def test_expected_full(self):
        truncate.trim(self.barcode, 20, self.input, self.output)
        self.assertEquals('''>GYUL5KN02IY0NH qclip: 5..519
AAGTTCATAACCCA\n''', self._value)
Ejemplo n.º 2
0
    def test_expected_full(self):
        truncate.trim(self.barcode, 20, self.input, self.output)
        self.assertEquals('''>GYUL5KN02IY0NH qclip: 5..519
AAGTTCATAACCCA\n''', self._value)
Ejemplo n.º 3
0
 def test_barcode_removed(self):
     truncate.trim(self.barcode, 20, self.input, self.output)
     self.assertFalse(self._value.splitlines()[1].startswith(self.barcode))
Ejemplo n.º 4
0
 def test_barcode_removed(self):
     truncate.trim(self.barcode, 20, self.input, self.output)
     self.assertFalse(self._value.splitlines()[1].startswith(self.barcode))