def test_get_output_filepaths(self): """ Properly generates output filepath names """ uc_res = \ get_output_filepaths("/tmp/","test_seqs.fasta") self.assertEqual(uc_res, "/tmp/test_seqs_clusters.uc")
def test_get_output_filepaths_multiple_dots(self): """Generates filepath names from names with more than one dot""" obs = get_output_filepaths("/tmp", "test_seqs.filtered.fasta") self.assertEqual(obs, "/tmp/test_seqs.filtered_clusters.uc")