Exemplo n.º 1
0
    def get_all_sources_tuples(cls):
        source_list = []
        source_list.append(("", ""))
        for source in ReleaseUtils.get_all_release_sources():
            source_list.append((source, source))

        return source_list
Exemplo n.º 2
0
 def test_get_all_release_sources(self):
     all_release_sources = ReleaseUtils.get_all_release_sources()
     expected_result = ['Ensembl', 'RefSeq']
     self.assertListEqual(expected_result, all_release_sources,
                          "Got the right sources")