File: test_pbcore_data.py

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 (12 lines) | stat: -rw-r--r-- 342 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
from nose.tools import assert_equal
from pbcore import data

class TestGetCmpH5s(object):
    def test_get_cmp_h5s(self):
        for item in data.getCmpH5s():
            assert 'cmph5' in item
            assert 'bash5s' in item

class TestGetCmpH5(object):
    def test_get_cmp_h5(self):
        assert data.getCmpH5().endswith(".cmp.h5")