Skip to content

Commit

Permalink
Fix #20.
Browse files Browse the repository at this point in the history
  • Loading branch information
RickardSjogren committed Apr 6, 2017
1 parent 3decff9 commit ce22788
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pubchempy_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,10 @@ def test_basic(self):

def test_substance_equality(self):
self.assertEqual(Substance.from_sid(24864499), Substance.from_sid(24864499))
self.assertEqual(get_substances('Coumarin 343', 'name')[0], get_substances(24864499)[0])
self.assertEqual(get_substances('Coumarin 343, Dye Content 97 %', 'name')[0], get_substances(24864499)[0])

def test_synonyms(self):
self.assertGreater(len(self.s1.synonyms), 1)
self.assertEqual(len(self.s1.synonyms), 1)

def test_source(self):
self.assertEqual(self.s1.source_name, 'Sigma-Aldrich')
Expand Down

0 comments on commit ce22788

Please sign in to comment.