def test_negative_strand_one_downstream_sequence_found(self, mock_stdout): sequence_searches.main([self.ccnt1_region_file, 'TCGCC,5:10']) output = self._parse_stdoutput(mock_stdout.getvalue()) self.assertEqual(output, "True")
def test_positive_strand_one_downstream_sequence_found(self, mock_stdout): sequence_searches.main([self.polr2a_region_file, 'GAAGC,5:10']) output = self._parse_stdoutput(mock_stdout.getvalue()) self.assertEqual(output, "True")
def test_negative_strand_inr_sequence_not_found(self, mock_stdout): sequence_searches.main([self.ccnt1_region_file, 'TGCAGC,-3:3']) output = self._parse_stdoutput(mock_stdout.getvalue()) self.assertEqual(output, "True")
def test_negative_strand_one_upstream_sequence_not_found( self, mock_stdout): sequence_searches.main([self.ccnt1_region_file, 'TTT,-10:-5']) output = self._parse_stdoutput(mock_stdout.getvalue()) self.assertEqual(output, "False")
def test_positive_strand_inr_sequence_found(self, mock_stdout): sequence_searches.main([self.polr2a_region_file, 'GCTGCT,-3:3']) output = self._parse_stdoutput(mock_stdout.getvalue()) self.assertEqual(output, "True")