Skip to content

Commit

Permalink
remove index for intact testing
Browse files Browse the repository at this point in the history
  • Loading branch information
saapooch committed Oct 16, 2018
1 parent 1ae4116 commit 1cd5c9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/data_source/test_intact.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ def test_complexes(self):
self.assertEqual(q.evidence, 'intact:EBI-2292448')

def test_interactions(self):
q = self.intact.session.query(intact.ProteinInteraction).filter_by(index=99).first()
self.assertEqual(q.protein_a, 'Q14103-4')
q = self.intact.session.query(intact.ProteinInteraction).filter_by(protein_a='Q14103-2', protein_b='Q9Y6M1').first()
self.assertEqual(q.protein_a, 'Q14103-2')
self.assertEqual(q.protein_b, 'Q9Y6M1')
self.assertEqual(q.gene_b, 'IGF2BP2')
self.assertEqual(q.gene_a, 'HNRNPD')
Expand Down

0 comments on commit 1cd5c9c

Please sign in to comment.