Skip to content

Commit

Permalink
Add unittest.main() to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kcha committed Oct 2, 2019
1 parent 0e6b2a1 commit 71d92d9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion tests/python/test_annotate.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,4 @@ def test_preprocess_polyasite_v2(self):


if __name__ == '__main__':
#print sys.argv[0]
unittest.main()
3 changes: 3 additions & 0 deletions tests/python/test_collapse.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ def test_overlaps(self):
result = collapse.overlaps(self.interval_a, self.interval_b, 10)
self.assertFalse(result)

if __name__ == '__main__':
unittest.main()

5 changes: 2 additions & 3 deletions tests/python/test_fasta.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def test_filter_sequences(self):
self.assertIn(">seq2", results)
self.assertIn(">seq3", results)




if __name__ == '__main__':
unittest.main()

2 changes: 2 additions & 0 deletions tests/python/test_qapa.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,6 @@ def test_quant(self, mock_sys):
r'compute_pau.R')


if __name__ == '__main__':
unittest.main()

1 change: 0 additions & 1 deletion tests/python/test_row.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,4 @@ def test_get_stripped_name(self):
self.assertEqual(target, "ENST00123")

if __name__ == '__main__':
#print sys.argv[0]
unittest.main()

0 comments on commit 71d92d9

Please sign in to comment.